Add image background
Fill transparency with a background color while retaining dimensions.
Maximum 25 MB and 40 megapixels. Each dimension supports up to 16,384 px. Everything is processed in your browser.
View generated image
Reprocessing can change metadata and color profiles. JPG does not preserve transparency. Inspect background and opacity in the preview; each tool’s settings determine the result.
Your files are processed here, on your device
We do not send your file or text contents to a processing server. No account is needed and there is no daily operation quota. Individual tools have size limits to protect your device’s memory.
A connection is needed to load the site and its resources. Hosting may receive technical visit data. Favorites store only tool identifiers in this browser.
How we handle your data →How to use this tool
- Load an image containing transparency.
- Select background color and output format.
- Process and check edges before downloading the opaque copy.
An example you can verify
Check how white background blends with a semitransparent red pixel.
Example input
RGBA pixel: 255, 0, 0, 128.
Expected result
Approximate RGBA: 255, 127, 127, 255.
Output is opaque. Semitransparent red blends with white; an opaque red pixel would remain red.
Add image background: uses and practical guidance
Adding a background fills transparent regions with a selected color and produces a completely opaque image. It helps prepare a logo or illustration that must appear against a defined background in a document or application. Width and height are retained, and source content is placed over the background color. The canvas is not expanded and no exterior frame is added. Use the image-border tool when an outside margin is required, since that operation changes dimensions differently. Background filling affects the existing canvas rather than introducing new space around it.
Fully transparent pixels reveal the chosen color completely. Semitransparent pixels blend with it according to opacity, as seen in softened edges and shadows. A red pixel with alpha 128 over white produces approximately red 255, green 127 and blue 127, with alpha 255. An already opaque pixel retains its appearance. Consequently, this operation cannot change the background of an ordinary opaque photograph or automatically separate a person from their surroundings. That would require a different selection or background-removal operation before a color could be placed behind the isolated content.
Choose color according to final use. Semitransparent edges can acquire light or dark halos through compositing, and a shadow may look different on white than on a saturated background. Inspect the preview closely or open the downloaded copy to review edges. PNG and WebP commonly support transparency, but this tool produces opaque output even when one of those formats is selected. Changing color later cannot restore transparency lost in the output copy. Retain the original to create alternative background versions without repeatedly transforming a result whose alpha information has already been removed.
PNG, JPG and WebP inputs up to 25 MB, forty megapixels and 16,384 pixels per dimension are supported. JPG and WebP may introduce compression loss according to selected quality; PNG helps retain the rasterized result without that additional loss. Metadata and color profiles can change during reprocessing, and a smaller output file is not guaranteed. A copy is prepared rather than overwriting the source. Try an image containing complete transparency, a softened edge and an opaque region before processing several versions manually. Download each version you want retained before changing background color or resetting controls, and inspect the copy in its intended destination when color or edge appearance matters.
Settings and limits
Load PNG, JPG or WebP and select a background color. Semitransparent pixels are composited over it and output becomes opaque, including PNG or WebP. Existing opaque backgrounds are not removed and content is not cropped. Maximum 25 MB, 40 megapixels and 16,384 px per dimension.
Frequently asked questions
Does it replace the background in an opaque photo?
No. It affects transparent or semitransparent regions only. It does not automatically separate a subject from its background.