Background & Padding
This tool puts a solid colour behind your picture, adds space around it, or draws a frame. Use it to add a white background to a transparent image.
- Choose a background colour by wheel, hex value or preset.
- Add equal padding from 0 to 200 pixels.
- Read the exact new canvas size before applying.
Add a white background behind a transparent image
Load a PNG or WebP with transparent areas, set Background Color to white (#FFFFFF), and apply. The tool fills the new canvas with that colour and draws the picture on top, so transparent pixels take the fill. It does not cut a subject out of a photo or replace an existing scene; it only fills what is already transparent.
Padding and border
Padding runs from 0 to 200 px and is added equally on all four sides, so the canvas grows by twice the padding in each direction. A 1000 px wide image with 60 px of padding becomes 1120 px wide. The border is 1 to 20 px, drawn inside the canvas, and needs Add Border ticked and a width above zero. The New canvas line gives the exact size before you apply.
What to expect from the file
The canvas always grows and never shrinks, so it cannot fit a picture into a smaller frame. Add padding before resizing if you need a particular outer size. A PNG stays lossless but rarely gets smaller; it often gets slightly larger. JPEG and WebP are re-encoded, and quality is capped to avoid growing beyond the original where it can. The limit is 8192 px per side and 50 megapixels; a larger canvas is refused until you reduce the padding or border.
If the aim is a clean white background for a passport or listing, check the result's dimensions and format afterwards. If the subject sits on a busy scene, this tool will not remove it; it only adds colour behind and around the image.
Common questions
- Does this remove the background from a photo?
- No. It fills transparent pixels and adds padding or a border in a solid colour. It does not detect a subject or erase an existing background, so a photo with a full scene keeps that scene.
- Why does the file get bigger?
- Adding padding or a border increases the pixel count, so the file must store those extra pixels. A flat border compresses well, but the output can still be larger than the upload.
All image processing happens in your browser. Your image is never uploaded, and there is no signup.