Free · No signup required
Image Tools
Free Image Background Tool
Place a solid color or an uploaded background image behind a transparent PNG or WebP. Preview the result and save a new copy.
Your foreground and background images stay on your device. Processing happens in your browser, without uploading your files. Your originals stay unchanged.
Select your foreground image
Drop one JPG, PNG, or WebP here, or choose a file.
Up to 20 MB · 24 million pixels · Still images only
How to add a background
- Select a foreground image with transparent areas.
- Choose a solid color or upload a background image.
- For an image background, select Cover or Contain.
- Apply the background, review the preview, and download.
Will this replace an existing background?
No. The new background is placed behind the foreground and shows through transparent or partly transparent areas. An opaque foreground, including a JPG, covers it. Remove the existing background in another editor first, then use a transparent PNG or WebP here. ToolsVita's Remove Background tool is available for portraits of people.
What is the difference between Cover and Contain?
Both center the background image and preserve its proportions. Cover fills the entire canvas and crops excess edges. Contain shows the whole background image, using your chosen color in any uncovered areas. Transparent areas in an uploaded background also show the chosen color. Neither mode changes the foreground's size or position.
Will the output retain transparency?
No. This tool fills the canvas with the chosen solid color, optionally draws your background image, then draws the foreground over it. The result is opaque in JPG, PNG, and WebP. Choose a color that looks good behind semitransparent edges.
Will dimensions or quality change?
Output dimensions match the upright foreground image. Orientation metadata is applied to both inputs. PNG uses lossless encoding of the rendered composite. JPG and WebP use lossy encoding, even at 100% quality. Background images may be enlarged or reduced to fit; enlargement can look soft. Output size may increase.
What happens to metadata and colors?
Source camera metadata, original DPI, and source color profiles are not preserved. Browser rendering can change colors, HDR appearance, and bit depth. This tool is not a comprehensive metadata sanitizer. Each application starts from your original inputs, so repeated clicks do not accumulate changes.
What are the limits?
One foreground up to 20 MB and 24 million pixels, and one background image up to 5 MB and 16 million pixels. Neither input may exceed 12,000 pixels on either side. The output limit is 30 MB. Still JPG, PNG, and WebP are supported; animated images and other formats are not. Processing requires workers, createImageBitmap, and OffscreenCanvas, with output encoding support varying by browser. Input previews are downscaled to at most 1,200 pixels on the longest side; output uses the full foreground dimensions.
What is an image background tool?
Add a solid color or picture behind transparent areas of a PNG or WebP image. Create a white background for a cutout, choose cover or contain layouts, and preview the result before downloading. Start with a transparent image; this tool does not remove an existing background.
When to use Add Image Background
Prepare the cutout first, then decide whether the new background should fill the canvas or remain fully visible. Cover can crop the background edges; Contain can leave the chosen color around it. Inspect semitransparent hair and object edges against the final color. The output follows the foreground dimensions and becomes opaque, so keep a separate transparent source for later changes.
A common workflow question
Why can I not see the background I added?
Your foreground may be opaque. A JPG, or a PNG saved with a solid background, can cover the layer behind it. Use a truly transparent cutout first. ToolsVita’s Remove Background tool is available for portraits of people; other subjects may require a suitable image editor. Changing file format alone does not create transparency.
Related tools
- Remove Portrait Background Online — Remove portrait backgrounds with browser AI. Preview the person cutout and download a transparent PNG. Results vary; your image stays on your device.
- Image Sticker Maker Online — Make portrait stickers or style transparent cutouts. Crop, add a colored outline and shadow, and download a transparent PNG in your browser.
- Image Converter Online — Convert JPG, PNG, and WebP images online. Preview supported format changes, adjust available quality settings, and download without file uploads.
- Photo Collage Maker Online — Create photo collages in a grid, strip, or stack. Adjust spacing, image fit, and background, then download PNG or JPG with browser processing.
Browse all image tools or visit our practical guides.
