Add Image Background
Upload a transparent PNG and add a solid color or gradient background with custom padding.
Drop a solid color or gradient behind any transparent PNG — pick the hex, tweak the padding, download. Works with linear and radial gradients too, so cutouts don't end up on an ugly white rectangle when a platform strips transparency. And everything runs in your browser. Nothing gets uploaded.
How It Works
The tool creates a canvas sized to your image plus any padding you set. It fills that canvas with your chosen background — a flat color, a two-stop linear gradient at whatever angle you want, or a radial gradient that fades from center to edge. Then it draws your original image on top. The result is a standard PNG with the background permanently applied.
Examples
Product Photo for an Online Store
You have a shoe cutout on a transparent background. The marketplace wants a clean white backdrop.
shoe-cutout.png (transparent BG)
Solid color: #FFFFFF
Padding: 40px
shoe-cutout.png on clean white
with 40px breathing room on all sides
App Icon with Gradient Background
Your designer handed you an icon with no background. You need a purple-to-blue gradient behind it for the App Store listing.
icon-1024.png (transparent)
Linear gradient: #7C3AED → #2563EB
Angle: 135°, Padding: 0px
icon-1024.png with diagonal
purple-to-blue gradient fill
Social Media Profile Badge
A circular logo on transparency looks odd when platforms render it on dark mode backgrounds. A radial gradient gives it a soft glow effect without hard edges.
logo-badge.png (transparent)
Radial gradient: #FDE68A → #F97316
Padding: 20px
logo-badge.png on warm radial
gradient, 20px padding all around
Who Uses This
Slap a white or brand-colored background onto product cutouts before uploading to Amazon, Etsy, or Shopify.
Quick mockup backgrounds for icons, logos, or UI elements without opening a full editor.
Generate app store screenshots and icons with gradient fills matching brand guidelines.
Make thumbnails and social posts pop by adding colored or gradient backdrops to cutout subjects.
Common Mistakes
JPEGs don’t have transparency. If you upload one, the background just goes behind the existing white or colored background — you end up with a colored border around a white rectangle. Make sure your source file is actually a PNG with a transparent alpha channel.
If the subject touches the image edges and you add no padding, the background is only visible through transparent areas inside the image. Bump the padding up to at least 10–20px so the color actually frames the image.
A bright red-to-green gradient behind a product photo is going to look like Christmas clip art. Stick with subtle transitions — same color family at different lightness levels works best. Or go monochrome if you are not sure.
Technical Details
- Processing: 100% client-side — nothing is uploaded
- Input Format: PNG with transparency (other formats work but won’t show the background through opaque areas)
- Output Format: PNG
- Max Padding: 200px per side
- Browser Support: Chrome, Firefox, Safari, Edge
Frequently Asked Questions
Can I add a background to a JPEG image?
Technically yes, but it won’t do what you expect. JPEGs have no transparency, so the background color just extends around the existing image like a border. For actual background replacement, start with a PNG that has the subject already cut out.
Is my image uploaded to a server?
No. The entire process happens in your browser. Your file never leaves your device. We use the HTML5 Canvas API to draw the background and composite the image locally.
What’s the maximum image size I can use?
There is no hard limit set by the tool. However, very large images (above 8000×8000 pixels) might slow your browser down or cause it to run out of memory. For most use cases — product photos, icons, social media graphics — you will not hit this limit.
Can I add a background to multiple images at once?
Not in one shot. This tool handles one image at a time. If you need batch processing, you would need to process each image separately. It is fast though — each one takes a few seconds at most.
How do I remove the background first?
You’ll need a background removal tool first — there are plenty of free ones online, including our own Remove Image Background tool. Once you have a transparent PNG, come back here and add whatever background color or gradient you like.