Remove PNG transparency with a solid color
Flatten transparent and semi-transparent pixels over the color you choose. The tool uses browser Canvas APIs, so your file stays on your device.
Use this tool freeBrowser tool
PNG transparency remover
Runs locally in your browser. The selected image is not uploaded by this tool.
JPEG, PNG, and WebP are supported by default. Specialized converters restrict the file picker to their required input format.
How to remove transparency
Upload a PNG
Choose a PNG with transparent areas.
Pick a background color
Use the color picker or enter a hex color.
Flatten and download
Export a PNG with the transparency replaced by your chosen color.
Features
Choose any color
Pick white, black, a brand hex color, or use one-click presets for marketplace white, soft gray, beige, blue, blush, or charcoal fills.
PNG output
Download a flattened PNG sized exactly like the original image.
Client-side processing
No upload is required; Canvas composites the image in your browser.
After this task
After this free tool, open Background Eraser for the next AI editing workflow.
Continue with Background EraserSpecifications
| Input format | PNG |
| Output format | PNG |
| Processing | Client-side Canvas |
Related Magic Eraser Tools
Common questions
Does this erase an opaque background?
+
No. It only replaces existing transparent pixels. Use Background Eraser first if the background is not already transparent.
Is my PNG uploaded?
+
No. Processing happens locally in your browser.
Need transparency first?
Use Background Eraser to make the background transparent, then flatten the PNG here.
Open Background EraserMore free tools
Explore our other limited free edits after sign-in photo and image tools.
Design linear, radial, and conic gradients with multiple color stops. Copy the CSS code or download as a PNG image.
Convert colors between HEX, RGB, HSL, HSB, CMYK, and CSS named formats. See a live preview, copy any value, and export a color card.
Convert HEX color codes to RGB values and vice versa. Live preview, one-click copy, and CSS snippet output. works in your browser.
Pick any color from an uploaded image and get its HEX, RGB, and HSL codes instantly. Build palettes from photos for web design, branding, and illustration.
Upload a photo and extract 5-10 dominant colors with HEX, RGB, and HSL codes. Copy swatches, export as ASE or CSS variables.
Generate QR codes for URLs, text, WiFi credentials, and vCards. Customize colors, add a center logo, and download as PNG or SVG.