Add PNG Background
Upload a PNG with transparency and add a solid color or gradient background behind it. Preview and download as PNG.
Background Type
Original (Transparent)
With Background
Drop in a transparent PNG and pick a solid color or gradient to sit behind it. The preview updates as you tweak — no Photoshop layers, no flatten-and-re-export dance. And everything runs in your browser. Nothing gets uploaded.
How It Works
The browser creates an off-screen canvas at the exact dimensions of your PNG. It fills that canvas with your chosen solid color or gradient first, then draws the original image on top. Transparent pixels get replaced by the background; opaque pixels stay untouched. The final file is exported as a lossless PNG — no quality lost, no extra compression.
Examples
Company Logo for Email Signature
Your designer handed you a PNG logo on a transparent background, but Outlook shows the checkerboard grid behind it.
logo.png (400×120, transparent BG)
logo.png (400×120, solid #FFFFFF background)
App Icon with Gradient for Product Hunt
Product Hunt thumbnails look flat with a plain white background. A subtle gradient behind the icon makes it pop without redesigning anything.
app-icon.png (512×512, transparent)
Gradient: #6366f1 → #ec4899, diagonal
app-icon.png (512×512, purple-to-pink gradient behind icon)
Sticker Pack for Print on Demand
Print-on-demand shops sometimes reject transparent PNGs because their preview renderers can't handle alpha channels properly. Adding a white background fixes the upload error in about three seconds.
sticker-design.png (2000×2000, transparent)
Color: #FFFFFF
sticker-design.png (2000×2000, white background, accepted by print service)
Who Uses This
Quick background fills for client logo exports without reopening Figma or Illustrator.
Fix transparent logos that break in email clients like Outlook and Gmail.
Add white backgrounds to product cutouts so marketplace listings look clean.
Generate app icons and favicon variants with colored backgrounds for different platforms.
Common Mistakes
JPEGs don't have transparency — they already have a baked-in background. The color you pick will just sit behind the entire rectangle, which looks like a border. Make sure your source file is actually a .png with an alpha channel.
If your logo is dark blue and you set a navy background, the edges disappear. Always preview before downloading. High contrast between the image and the background gives you the best result.
The output matches your input exactly — if you uploaded a 50×50 icon and need 512×512, you'll want to resize first. This tool doesn't upscale; it only adds the background at the original size.
Technical Details
- Processing: 100% client-side — your image never leaves the browser
- Input Format: PNG with alpha transparency
- Output Format: Lossless PNG at original resolution
- Background Options: Solid color (hex picker) or linear/radial gradient
- Browser Support: Chrome, Firefox, Safari, Edge
Frequently Asked Questions
How do I add a background color to a transparent PNG?
Drop your PNG into the upload area, pick a color from the hex picker (or type in a value like #FF5733), and hit download. The whole thing takes under 10 seconds. No account needed, nothing gets uploaded.
Does adding a background reduce image quality?
No. The Canvas API composites your original pixels onto the new background without recompressing anything. You get a lossless PNG out at the same resolution you put in. Pixel-for-pixel identical where your image has content.
Can I add a gradient background to a PNG online?
Yes — switch to the gradient option, pick two colors, and choose a direction (horizontal, vertical, diagonal, or radial). The live preview shows exactly what you'll get before you download it.
Is my image safe? Does it get stored on a server?
Your file stays on your device the entire time. The browser's Canvas API does all the work locally — no server request, no upload, no storage. Close the tab and it's gone. Works offline after the page loads, too.
Why does my PNG still look transparent after adding a background?
Make sure you're downloading the result, not re-saving the original. Also double-check that your source file actually has transparency — some PNGs have a white background baked in that just looks transparent. Open it in a viewer that shows checkerboard for alpha areas to confirm.