Add Icon Background Online
Add a solid color background to transparent icon images online.
Drop image here or click to upload
Max 50MB • 100% Private
Drop a transparent PNG icon, pick a hex color, and get a clean solid fill behind it — no more checkerboard showing through on App Store listings or dark-mode favicons. Works with PNG, WebP, and anything else carrying an alpha channel, so no format conversion first. And everything runs in your browser. Nothing gets uploaded.
How It Works
The tool draws your chosen color onto a canvas at the same dimensions as your icon, then composites the original image on top. Transparent pixels get replaced by the background color while everything else stays untouched. The Canvas API does all the heavy lifting right in the browser — no round-trip to a server, no quality loss from recompression.
Examples
App Store Icon Prep
Apple requires app icons with no transparency. You've got a logo on a transparent background that needs a white fill before submission.
my-app-icon.png (1024×1024, transparent BG)
my-app-icon.png (1024×1024, white #FFFFFF BG)
Matching Brand Colors on Social Media
Your company icon sits on a dark navy profile section. The transparent background shows through as white on some platforms and gray on others — it looks inconsistent. You need a solid navy (#1e293b) fill behind the logo so it blends with the profile area everywhere.
brand-logo.png (512×512, transparent)
Color: #1e293b
brand-logo.png (512×512, solid navy BG)
Consistent look across all platforms
Favicon for Light and Dark Mode Sites
Your favicon disappears on dark-themed browsers because it's a dark icon on a transparent background.
favicon.png (64×64, dark icon, transparent BG)
favicon.png (64×64, light #f8fafc circle BG)
Visible on both light and dark tabs
Who Uses This
Prepping icons for iOS and Android stores that reject transparent backgrounds.
Quick mockups where the icon needs to sit on a colored card or hero section.
Making social media profile pictures and email signature logos look clean on every background.
Generating favicons and PWA icons that stay visible across browser themes.
Common Mistakes
JPGs don't have an alpha channel — they're already solid. If you upload one, the background color won't change anything visible. Make sure your source file is a PNG or WebP with actual transparency.
A bright red background behind a red icon makes the whole thing unreadable. Preview the output before downloading. White or a neutral gray works for most icons if you're unsure.
The tool keeps your original dimensions. If you need a 1024×1024 icon for the App Store but uploaded a 256×256 file, the background gets added at 256×256. Resize first, then add the background.
Technical Details
- Processing: 100% client-side — images stay in your browser
- Supported Formats: PNG, WebP, GIF, SVG, BMP (any format with alpha transparency)
- Output Format: PNG (preserves quality, no lossy compression)
- Browser Support: Chrome, Firefox, Safari, Edge
- Max Size: Limited only by your device's available memory
Frequently Asked Questions
How do I add a background to a transparent PNG?
Upload your transparent PNG here, pick a background color using the color picker or type in a hex code, and hit download. The whole thing takes about five seconds. No software install needed.
Does adding a background reduce image quality?
No. The tool outputs a PNG, which is lossless. Your icon pixels stay exactly as they were — only the transparent areas change. There's zero quality degradation.
What size should my app icon be before adding a background?
Apple wants 1024×1024 for the App Store. Google Play asks for 512×512. Make sure your icon is already at the right size before adding the background — this tool won't resize it for you.
Can I add a gradient background instead of a solid color?
This tool is built for solid color backgrounds. If you need a gradient, you'd want to use our gradient generator tool to create the background first, then composite the images together in an editor. Solid colors cover about 90% of icon use cases though.
Is it safe to use this tool for unreleased app icons?
Totally safe. Your image never leaves the browser tab. There is no upload to any server — the processing happens locally using JavaScript. Close the tab and the data is gone. Nobody sees your icon but you.