Home › Image Tools › Add Background to Transparent PNG

Add Background to Transparent PNG

Fill the transparent parts of a PNG with a solid color, a gradient or a photo of your choice. Trim the empty edges, add padding and a soft drop shadow that follows the shape, then save a JPG or PNG. Ideal for logos, product cut-outs, stickers and photos after background removal.

Last updated:

Background
Advertisement
Advertisement

How to use the Add Background to Transparent PNG

  1. Add your transparent PNGs (or WEBP/GIF with transparency). A sample cut-out is shown until you add your own.
  2. Choose the background: Color, Gradient or Photo. For a photo background, pick the image you want behind the object.
  3. Adjust the layout: trim empty edges, set the padding and choose the canvas shape.
  4. Add a shadow if you like, and tune its strength, softness and offset.
  5. Download the result as JPG, PNG or WEBP, or all images as a ZIP.

How transparent pixels get their new background

Every pixel of a PNG has a red, green and blue value plus an alpha value from 0 (fully transparent) to 255 (fully opaque). When the image is placed on a background, each pixel is blended with the color behind it using standard alpha compositing:

result = image color × alpha + background color × (1 − alpha), with alpha written as 0 to 1.

That is why soft, anti-aliased edges, hair and glass stay smooth: a pixel at 50% alpha becomes an even mix of the object and the new background instead of a hard, jagged edge. The output has no transparency left, so it looks the same in every app, email or upload form.

Which background suits which image?

Image typeGood backgroundSettings tip
Online shop productPure white #ffffffPadding 8-12%, square canvas, soft shadow around 25-35%
Logo or iconWhite, brand color or blackTrim edges, padding 15-25%, no shadow
Profile or portrait cut-outLight gray, pastel or gradientSquare or 4:5 canvas, small padding
Sticker or illustrationBright color or gradientShadow with offset for a lifted look
SignatureWhiteTrim edges, padding 5%, save as PNG or JPG
Scene compositeYour own photoAdd a little background blur so the object stands out

JPG or PNG?

  • JPG gives small files for photos and product shots, and since the background is now solid, nothing is lost by dropping transparency.
  • PNG is best for logos, text and flat graphics with sharp edges, where JPG compression could leave faint blotches.
  • WEBP is smaller than both and works on modern websites, but some older programs cannot open it.

Frequently asked questions

How do I add a white background to a transparent PNG?

Add the PNG, keep Color selected with white, and click Download. Every transparent or semi-transparent pixel is blended onto white, so the edges stay smooth. Saving as JPG is common for white backgrounds because JPG cannot store transparency anyway.

Why does my PNG show a black background in some apps?

Some viewers and upload forms ignore the alpha channel and show transparent pixels as black. Adding a real background color and saving as JPG, or as PNG without transparency, makes the image look the same everywhere.

Can I use another photo as the background?

Yes. Choose Photo and pick a background image. It is scaled to cover the whole canvas, centered, and your transparent PNG is placed on top with the padding and shadow you set.

What does Trim empty edges do?

Many cut-outs have a lot of fully transparent space around the object. Trimming finds the smallest box that contains every visible pixel, so the padding you choose is measured from the object itself and the object is centered properly.

My image has no transparent areas. What can I do?

This tool only fills pixels that are already transparent. If your photo has a solid background you want to replace, first remove it with the Background Remover or Make Image Transparent tool, then add the new background here.

Is the shadow added to the background or the object?

The drop shadow is drawn from the outline of the object, so it follows its exact shape, like a product resting on a surface. You can make it stronger, softer, or move it further down.

Are my images uploaded?

No. The images are combined on a canvas inside your browser and saved straight to your device. Nothing is sent to a server.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Background RemoverRemove image backgrounds automatically with AI.Make Image TransparentRemove a white or solid-color background and save a transparent PNG, right in your browser.PNG to JPGBatch convert PNG images to JPG with a background color.Image Border AdderAdd a border, rounded corners, matte and shadow to a photo onlinePhoto EnhancerOne-click auto enhance: fix exposure, contrast, color cast and sharpness, one photo or a batch.Remove Object from PhotoBrush over unwanted objects, people or text and fill the area with matching background.Photo to CartoonTurn photos into cartoons with smooth colors and bold outlines. Free, private, no upload.Add Watermark to PhotoAdd a text or logo watermark to one or many photos at once.Blur Image & Face Pixelate ToolBlur or pixelate faces, plates and backgrounds in a photo.Pixelate Image & Pixel Art ConverterTurn any picture into pixel art with retro palettes and dithering.Add Text to ImageAdd styled text layers with outline and shadow to any photo, then downloadRound Corners ImageGive any picture rounded, circle or squircle corners and save a transparent PNG.Grayscale Image ConverterTurn color photos into black and white with luma, luminance or average methods and sepia.Photo FiltersApply 27 one-click photo filters like Vintage, Noir and Teal & Orange with an intensity slider.Photo EditorEdit photos online: brightness, contrast, saturation, crop, rotate, flip and filters with undo.Image SharpenerSharpen soft or slightly blurry photos with a real unsharp mask and before/after view.Invert Image ColorsTurn any picture into a color negative, with R/G/B channel toggles and an intensity slider.Screenshot BeautifierPut screenshots on gradient backgrounds with padding, rounded corners, shadow and a browser frame.Image Metadata ViewerSee a photo's EXIF data: camera, lens, exposure, date and GPS location, then strip it in one click.EXIF RemoverRemove EXIF, GPS location and other metadata from JPG, PNG and WEBP photos.Online PaintDraw and paint in your browser: brushes, shapes, fill bucket, text, undo and PNG export.Photo to SketchTurn any photo into a pencil, charcoal or color sketch in your browser and download it.GIF Frame ExtractorSplit an animated GIF into PNG frames with delays, a sprite sheet and ZIP download.Photo Frame MakerPut photos in polaroid, film strip, gallery, rounded or shadow frames with a caption.Duotone GeneratorTurn any photo into a bold two-color duotone image with presets, custom colors and intensity.Glitch Image EffectAdd RGB split, scanlines, slice shifts and noise to a photo for a digital glitch look.Add Date Stamp to PhotoStamp the EXIF or a custom date on photos in a retro orange camera font. Batch and ZIP download.Add Drop Shadow to ImageAdd a drop, long or reflection shadow to PNGs and photos and save a transparent PNG.Add Text to GIFPut captions on animated GIFs with outline, position and frame range, then download.Blend Two ImagesOverlay two photos with opacity, 16 blend modes, fades and free positioning, then download.Blur Photo BackgroundBlur the background of any photo for a portrait-mode look. AI subject detection, no upload.Brick Mosaic GeneratorTurn a photo into a toy-brick stud mosaic with a parts list and printable build guide PDF.Online Document ScannerTurn photos of paper into clean scans: auto edge detection, perspective fix, multi-page PDF.Add Film Grain to PhotoAdd realistic analog film grain, light leaks, fade and vignette to any photo, then download.GIF Speed ChangerSpeed up or slow down an animated GIF, or set each frame's delay, without losing quality.Halftone GeneratorTurn images into mono or CMYK halftone dots and lines; export PNG or SVG.Image Noise RemoverRemove grain and color noise from photos with median, bilateral or non-local means filters.Image Dithering ToolDither photos with Floyd-Steinberg, Atkinson or Bayer in 1-bit, Game Boy, CGA and retro palettes.Skin SmoothingSmooth skin in portraits with face-aware retouching that keeps eyes, lips and skin texture sharp.Straighten ImageFix a tilted photo: rotate by any angle with a grid, auto-crop the corners or level the horizon.AI Style TransferRepaint your photo in the style of any painting or pattern with AI, right in your browser.SVG EditorEdit SVG files visually: move shapes, change colors, text and strokes, add shapes, edit the code.Symmetry Drawing ToolDraw mandalas and kaleidoscope art with radial and mirror symmetry, glow brushes and PNG export.Virtual Background MakerDesign 1920×1080 video call backgrounds with your name, title, logo, blur and branded templates.EXIF EditorEdit photo EXIF and IPTC: date taken, camera, GPS location, copyright and caption, in batch.Face Symmetry TestUpload a face photo to see left-left and right-right mirror composites and a symmetry score.Sports Tactics BoardDraw plays on basketball, soccer, football and hockey diagrams with players, arrows and animated frames.Add Outline to PNGAdd a stroke outline around transparent PNG cutouts: width, color, softness and double borders.Dehaze ImageRemove haze, fog and smog from photos with the dark channel prior. Free, private, in your browser.HDR Photo EffectGive any single photo an HDR look with local tone mapping, detail boost and a strength slider.Low Light Photo EnhancerBrighten dark and night photos with an adaptive tone curve plus noise reduction.Photo StackingStack photos online: star trails (lighten), noise reduction (mean) and remove passers-by (median).Perspective CorrectionDrag 4 corners to straighten skewed photos of signs, screens and whiteboards, then download.Photo Mosaic MakerBuild a big picture out of many small photos by color matching, then export a high-res PNG.Photo to Oil PaintingTurn a photo into an oil painting with brush size, detail, impasto and canvas texture.Red Eye RemoverClick on red eyes to fix them automatically: adjustable threshold, undo, download the photo.Tilt Shift EffectMake photos look like miniature models with an adjustable tilt-shift focus band and blur.Colorize Black and White PhotoAdd natural color to old black and white photos with AI that runs in your browser. No upload.Draw on ImageAnnotate photos and screenshots with arrows, boxes, text, highlighter and numbered steps.Photo to AnimeTurn selfies and landscapes into anime-style art with AI in your browser. Free, no upload.Face Shape DetectorUpload a selfie to find your face shape on-device, with hairstyle and glasses tips.Add Stickers to PhotoPut emoji and cute stickers on your photos; scale, rotate, flip and layer them, then save PNG.Color Splash EffectKeep one color, or a brushed area, in color and turn the rest of the photo black and white.Old Photo Face RestorerRestore blurry and damaged faces in old photos with AI (GFPGAN) in your browser. Free, no upload.Image Opacity ChangerMake an image semi-transparent with an opacity slider or fade, and save a transparent PNG.Photo to WatercolorTurn a photo into a watercolor painting with soft washes, color bleed, wet edges and paper texture.Product Photo White BackgroundRemove the background and center products on pure white at 2000 x 2000 for marketplaces. Batch.Redact ImageBlack out or pixelate private info in screenshots; burned in, metadata stripped, PNG download.
See all 69 Photo Effects & Editing →