Free online image tools

Remove a background, resize your image, then choose the format and file size. One workspace, no account.

PNG, JPEG and WebP · up to 20 MB and 24 megapixels. Large images are reduced to a 4096px longest edge for editing. Keep your original file.

Enable JavaScript to edit your image.

SVG editor

How this workspace works

1. Remove background

Choose portrait AI for people. For products on a plain backdrop, use solid-colour removal and click the background. Inspect edges before exporting; hair, glass and similar foreground/background colours can be difficult.

2. Resize

Enter dimensions in pixels. Lock proportions to avoid stretching. Centre-crop fills the target size and may trim the edges; contain fits the whole image inside it.

3. Compress & download

PNG keeps transparency without a quality slider. WebP supports transparency with adjustable quality. JPEG replaces transparency with the selected background colour. A smaller quality value does not guarantee a smaller file than your original.

Choose the result you need: three reproducible workflows

The geometric examples use our demonstration graphic; the separate photo cases use credited public photographs. These are controlled tests, not customer experiences. Download the exact input and outputs to inspect the result yourself.

800 by 600 input: blue bottle-shaped object and yellow circle on a pale background.
Original input: 800 × 600 · 16,779 bytes

Plain-background removal: check what disappeared

Open the 800 × 600 input below. Select solid-colour removal, click the pale backdrop and use tolerance 35. Set 400 × 300 and export PNG. Compare the blue shape and yellow circle against the original before downloading.

The colour method removes matching pixels throughout the image, including disconnected regions. It does not understand which object you intended to keep. A white label or pale highlight can disappear with a white backdrop. Restore the original before changing tolerance if important details are missing.

This geometric sample validates solid-colour removal only. It does not demonstrate portrait-AI quality. Use portrait AI for people, and inspect hair and edges against both light and dark backgrounds. Glass, product shadows and similar foreground/background colours need extra care.

800 × 600 into 800 × 800: padding or missing edges?

Unlock proportions and enter 800 × 800. Contain uses scale min(800/800,800/600)=1: the full 800 × 600 image is centred with 100px above and below. Centre-crop uses scale max(800/800,800/600)=4/3: the image becomes about 1067 × 800 before about 133px is trimmed from each side.

Both downloads are exactly 800 × 800, but their content is different. Check the outer yellow circle and any labels near the edges. Select contain when every edge must survive; use centre-crop when filling the frame matters more than keeping every edge.

Changing the canvas ratio is different from stretching the subject. These results preserve the image proportions. Pixel positions are rounded, so an odd-sized image may place a one-pixel remainder on one side. Keep the original if another crop will be needed later.

PNG or JPEG: compare alpha, pixels and bytes separately

The two 400 × 300 files below were exported from the same cutout. PNG retains transparent pixels; the JPEG was flattened onto white. The saved fixtures are 6,343 bytes (PNG) and 5,440 bytes (JPEG). These are measured files, not a promised reduction for another image.

Choose the required background first, then compare formats. A smaller JPEG that lost necessary transparency is not an equivalent replacement for a PNG logo. For photos that need no transparency, compare JPEG/WebP at the same pixel dimensions and inspect fine text, edges and gradients before downloading.

The original fixture is 800 × 600 and 16,779 bytes. Because these exports also halve the dimensions, their size difference from the original cannot be attributed to compression alone. PNG has no quality slider; JPEG/WebP encoder results depend on the browser and image. Lowering quality repeatedly can damage detail without meeting a target file size.

Transparent PNG · 400 × 300
Transparent PNG · 400 × 300 · 6,343 bytes
Download this result
White JPEG · 400 × 300
White JPEG · 400 × 300 · 5,440 bytes
Download this result
Contain · 800 × 800
Contain · 800 × 800 · 21,286 bytes
Download this result
Centre-crop · 800 × 800
Centre-crop · 800 × 800 · 29,916 bytes
Download this result

Portrait AI on a public photograph: inspect the edges

We opened the NASA portrait of Eileen Collins below in this site’s existing tool, ran portrait AI, and exported transparent PNG at the original 512 × 512 size. The input is 791,555 bytes; the actual browser export is 361,936 bytes. No resize was applied. This is one reproducible test, not a customer endorsement or a promised result for every photo.

Original NASA portrait
Original NASA portrait · 512 × 512
Download this portrait file
Actual AI cutout on a dark preview background
Actual AI cutout on a dark preview background · 512 × 512
Download this portrait file

The person and held helmet remain, while most of the backdrop is transparent. A pale fringe is still visible around the hair and outer edges on the dark preview. Inspect the downloaded file against the background you intend to use; keep the original if that edge is unsuitable. The geometric colour-removal example above uses a different method.

Reproduce: download the original, open it, select “Remove portrait background (AI)”, then choose PNG and a transparent background without changing the dimensions. First use downloads model/runtime files; speed and edge quality vary by device and image.

Credit: NASA · Eileen Collins, via scikit-image public-domain image documentation. Used for an editorial processing test; no affiliation or endorsement is implied. Source and usage notes · Export record

A real coffee photo: square crop or keep the whole scene?

We opened the 600 × 400 CC0 photograph below in this site's workspace. With proportions unlocked, we exported two 600 × 600 PNGs without removing the background. Contain keeps the complete scene at 600 × 400 with 100 transparent pixels above and below. Centre-crop scales to 900 × 600, then trims 150 pixels from each side of that scaled image.

Original coffee scene
Original coffee scene · 600 × 400 · 466,706 bytes
Download this file
Contain: complete scene with padding
Contain: complete scene with padding · 600 × 600 · 601,982 bytes
Download this file
Centre-crop: edges removed
Centre-crop: edges removed · 600 × 600 · 714,077 bytes
Download this file

Look at the saucer, spoon and surrounding table near the edges. Filling a square changes the composition; it does not simply shrink the original. The crop enlarges the photo by 1.5× and cannot create new detail. Both PNG exports are larger in bytes than the 466,706-byte original (601,982 and 714,077 bytes): matching dimensions is not a compression test.

Credit: Rachel Michetti · Pikolo Espresso Bar · CC0, via scikit-image coffee documentation. Browser exports: 19 November 2026. Settings and file hashes

Cat fur at the same pixel size: compare three actual exports

Open the 451 × 300 CC0 Chelsea photograph. Keep original dimensions and the complete image; skip background removal. Export JPEG at quality 85, JPEG at 60, then WebP at 85. All files below came from the browser download button in the existing tool, using the same input pixels. Quality numbers from different formats do not imply equivalent visual quality.

Original lossless PNG · Chelsea
Original lossless PNG · 451 × 300 · 240,512 bytes
Download and inspect at 100%
JPEG · 85% · Chelsea
JPEG · 85% · 451 × 300 · 27,729 bytes
Download and inspect at 100%
JPEG · 60% · Chelsea
JPEG · 60% · 451 × 300 · 15,573 bytes
Download and inspect at 100%
WebP · 85% · Chelsea
WebP · 85% · 451 × 300 · 21,594 bytes
Download and inspect at 100%

JPEG 60 uses 12,156 fewer bytes than JPEG 85 here, with no pixel reduction. Compare whiskers, fur around the eyes and the smooth background at 100% zoom. A thumbnail can hide lost detail. These are lossy replacements for a lossless PNG, not evidence that every photo can lose that many bytes without a visible cost. For a 20 KB upload limit (20,000 bytes), the 15,573-byte JPEG 60 fits this example; check your own exported bytes and acceptable detail.

Credit: Stefan van der Walt · CC0, via scikit-image Chelsea documentation. Browser exports: 19 November 2026; another encoder may produce different bytes. Sources and usage notes

From a saved AI cutout to a reusable profile banner

Start with the saved 512 × 512 AI cutout from the credited NASA portrait case. We reopened that exact 361,936-byte file in this workspace, unlocked proportions and selected 400 × 300 with Contain. This follow-up test changes the layout and export format; the original AI edge limitations still apply.

The scale is min(400/512,300/512)=0.5859375. The portrait canvas becomes 300 × 300 inside a 400 × 300 output, leaving 50px on each side. The subject is not stretched to 4:3. With Centre-crop instead, the square would scale to 400 × 400 and lose 50px above and below; that can cut off the head or held object.

PNG · transparent · 400 × 300
PNG · transparent · 400 × 300 · 132,565 bytes
Download the actual export
WebP 85 · transparent · 400 × 300
WebP 85 · transparent · 400 × 300 · 21,436 bytes
Download the actual export
JPEG 85 · white background · 400 × 300
JPEG 85 · white background · 400 × 300 · 18,277 bytes
Download the actual export

Suppose an upload requires transparency and a maximum of 100 KB (100,000 bytes). PNG is over that limit here; the 21,436-byte WebP meets both conditions if the destination accepts WebP. The 18,277-byte JPEG is smaller but its white rectangle will cover a coloured page background. If the destination accepts only transparent PNG, keep that requirement and adjust dimensions or use another preparation method; changing to JPEG does not satisfy it.

These browser downloads use the same 400 × 300 pixels. Size changes from the 512 × 512 input include resizing as well as encoding. WebP/JPEG are lossy; inspect hair and helmet edges against your intended background. Credit: NASA · Eileen Collins. Source and usage notes · Settings, bytes and transparency record

Geometric fixture export date: 17 November 2026; photograph exports: 19 November 2026. Explanation reviewed: 19 November 2026. Layout values are rounded; re-encoding in another browser may produce different bytes.

Your image is processed on this device. Portrait AI downloads a model from Hugging Face; image pixels are not sent there. Site analytics and advertising may make separate network requests.

MODNet / Xenova (Apache-2.0) · License