Image Tools

Image Compressor

Shrinks one image by re-encoding it in your browser at a quality you pick (10-100%). You can also switch the output to JPEG, WebP or AVIF (where supported) and optionally cap the maximum width and height.

1
Add Files
2
Process
3
Download
Processed in your browser — your file is not uploaded.

Drop your files here

or click to browse files

Up to 1 files

Quality applies to JPEG and WebP output. PNG is lossless, so a PNG stays the same quality; to shrink a PNG, cap its dimensions or switch to WebP/JPEG.

70%
Smaller fileBest quality

How to Use

  1. 1Drop one image onto the upload area or choose it from your device.
  2. 2Under Output format pick Keep original, JPEG or WebP (AVIF appears only if your browser can encode it).
  3. 3Move the Quality slider. Lower values give a smaller file; the default is 70%.
  4. 4Optionally tick 'Also cap maximum dimensions' and enter Max width and Max height in pixels.
  5. 5Click Compress Image, check the percentage saved and the before and after sizes, then download the result.

About this tool

Updated

Three settings decide how small the file gets

The tool redraws your image on a canvas and re-encodes it. Size falls through the output format, the Quality slider and an optional cap on width and height.

Output format offers Keep original, JPEG or WebP, plus AVIF only if your browser can encode it. Quality runs from 10% to 100% and starts at 70%; it affects JPEG and WebP output. PNG is lossless, so the slider does nothing for a PNG that stays PNG. To shrink a PNG, tick 'Also cap maximum dimensions' and set Max width and Max height, or switch the format to WebP or JPEG. A result panel shows the percentage saved and the sizes before and after.

One file at a time, and what it accepts

The page takes a single image per run and returns a single image. There is no batch mode here.

The picker accepts image files, and each run handles exactly one. HEIC and HEIF photos work: if your browser cannot decode them itself, a WebAssembly decoder is downloaded on demand. With Keep original, PNG, WebP and JPEG stay in their own format; any other input, such as GIF or BMP, is written out as JPEG, and animation is not preserved.

Good jobs for this page, and a better tool for others

Use it when file size is the goal and the format is secondary.

• A phone photo is too large for an email attachment or a form upload limit: pick JPEG, keep Quality around 70-80% and cap the dimensions at something like 1920. • A PNG screenshot is slowing a web page: switch the output to WebP and compare the saved percentage. If you mainly want a different file type and size is secondary, use Image Converter. For exact pixel dimensions use Image Resizer. For a whole folder of pictures use Bulk Compress Images.

What compression cannot do

Lossy compression is permanent, and some files will not shrink at all.

Lower quality removes detail for good, so keep your original. An image that is already heavily compressed can come out the same size or larger; the tool then shows 'No size reduction at this quality' instead of a saving. Transparency is lost when you output JPEG. WebP encoding depends on the browser: if it returns a different format than requested, the tool shows an error rather than a mislabelled file. Progressive JPEG is not available.

Features

  • Output format selector: Keep original, JPEG, WebP, plus AVIF only when the browser can really encode it
  • Quality slider from 10% to 100% (default 70%), applied to JPEG and WebP output
  • Optional maximum width and height; the image is scaled down proportionally, never enlarged
  • Shows the size before and after and the percentage saved, or tells you when nothing was saved
  • Transparent areas are flattened onto white when the output is JPEG
  • One image per run; HEIC/HEIF photos are decoded with a WebAssembly decoder loaded on demand
  • Runs in your browser; the image is not uploaded

FAQ

Why did my PNG barely get smaller?

PNG is lossless, so the Quality slider has no effect on a file that stays PNG. To shrink a PNG, either tick 'Also cap maximum dimensions' to reduce its pixel size, or change Output format to WebP or JPEG, where the quality slider applies.

Can I undo the compression?

No. JPEG and WebP at lower quality throw away detail permanently, and the downloaded file is a new re-encoded copy. Your original file is untouched on your device, so keep it if you may need full quality later.

Does this make progressive JPEGs?

No. The tool uses the browser's canvas encoder, which writes standard baseline JPEG and gives no option for progressive scans. AVIF output is also only listed when your browser is able to encode it; most browsers cannot.

What happens to transparent PNGs when I choose JPEG?

JPEG has no transparency, so the tool fills transparent areas with white before encoding. If you need to keep transparency, choose WebP or keep the PNG format.

Is my image uploaded anywhere?

No. The image is decoded and re-encoded by your browser and the result is created locally, so there is no upload of the file for the compression itself.