Image Compressor

Optimize and compress your photos.

Lossy JPEG / WebP compression. Transparency is flattened onto white for JPEG. A download is offered only if smaller than the source.

Local processing · 25 MB per file · 100 MB total · up to 200 PDF pages

No file selected

What this tool does

Re-encode a picture at selected quality to trade file size against visible detail. Some already optimized files may not become smaller.

How to use it

  1. Select one source file (image/png,image/jpeg,image/webp,image/gif,image/svg+xml,image/bmp).
  2. Set output format to one of: jpeg, webp.
  3. Set jpeg / webp quality (0.1–1) (initial value: 0.8).
  4. Set maximum width (0 = original) (initial value: 0).
  5. Choose Process, inspect the result, then use the download control. A reported error means no successful output was produced.

Limits and result checks

Lossy JPEG / WebP compression. Transparency is flattened onto white for JPEG. A download is offered only if smaller than the source.

Common questions

Which output format settings affect image compressor?

Output format: choose jpeg, webp. Lossy JPEG / WebP compression. Transparency is flattened onto white for JPEG. A download is offered only if smaller than the source.

Where can I read the data-handling details for Image Compressor?

Inputs are processed in browser memory and are not uploaded by this plugin. Generated downloads remain on your device. The site privacy policy explains memory cleanup and hosting logs.

File processing and privacy · Report a problem

Why image weight is worth caring about

Images are most of the weight of most web pages, and weight is time: time for a page to load on a phone connection, time a form upload spends spinning, megabytes against an email or storage limit. Compression trades a controlled amount of image data for a much smaller file. Done well, the trade is invisible — the picture looks the same at the size anyone will see it, at a fraction of the bytes. Done carelessly, it is how good photos turn crunchy.

Lossy, lossless, and choosing your level

Lossless compression rearranges the file without discarding picture information — savings are modest and quality is untouched. Lossy compression discards information the eye is least likely to miss, and the savings are dramatic: a camera JPEG at several megabytes often compresses to a few hundred kilobytes that look identical on screen. The quality slider is a judgement call, not a technicality — compress one representative image at two or three levels, view them at real display size, and pick the lowest level where you cannot see a difference. That level is your setting for the whole set.

Will compression ruin my photos for printing?

It can, if you overwrite the originals with aggressively compressed copies. Keep full-quality masters archived; compress copies for web and sharing. A print needs every pixel you captured; a web page needs almost none of them.

Why did my image barely shrink?

Some images are already efficient — a small JPEG or a WebP has little left to give. Compression finds waste; where there is none, the honest result is a similar size. Check you are not compressing an already-compressed copy, which costs quality and gains nothing.

What is the best format after compressing?

For photographs on the web, WebP usually gives the smallest file at a given quality, with JPEG the universal fallback. For graphics with text and sharp edges, PNG stays cleaner. Match the format to the destination rather than to habit.

Choosing the output format

The output format setting offers JPEG or WebP, and the choice is about where the picture will be used. For photographs on the web, WebP usually gives the smallest file at a given quality, and it is the sensible default when the destination supports it. JPEG is the universal fallback: every browser, every phone, every program opens it, so choose JPEG when the image must work everywhere without question.

For graphics with text and sharp edges, neither is ideal — PNG stays cleaner there, because it does not blur hard edges the way lossy formats do. This tool outputs JPEG or WebP only, so if your image is a screenshot or a diagram with fine text, weigh the trade: a small lossy file, or a larger PNG made elsewhere.

Setting the quality level

The quality setting runs from 0.1 to 1, starting at 0.8, and it is a judgement call, not a technicality. At 1 the tool keeps the most detail and the file stays large; at 0.1 the file is tiny and the damage is visible. The 0.8 starting point is a good middle ground for photographs, where the savings are large and the loss is hard to see.

Do not guess the level — test it. Compress one representative image at two or three levels, view each at the real display size, and pick the lowest level where you cannot see a difference. That level is your setting for the whole set. What looks fine as a thumbnail can look rough at full size, so judge at the size the image will actually be seen.

Using the maximum width setting

The maximum width setting starts at 0, which means the original width is kept. Set a width when the image is destined for a specific slot: a 400-pixel column, an 800-pixel article image, a thumbnail. The tool resizes the image down to that width as part of the compression, which saves far more bytes than quality settings alone — halving the width cuts the pixels to a quarter.

Only shrink downwards. An image made larger than its original gains no detail and loses sharpness, so the setting is for reducing, not enlarging.

When no download appears

A download is offered only if the result is smaller than the source. That is the tool being honest: if the compressed file is not smaller, there is nothing to gain by downloading it, so no download appears. Some images are already efficient — a small JPEG or a WebP has little left to give — and compression finds waste only where waste exists.

If no download appears, do not assume the tool failed. Check the source first: is it already a compressed copy of a compressed copy? Compressing an already-compressed file costs quality and gains nothing. Go back to the original, full-quality file and compress that instead.

Common problems and fixes

If the tool reports an error, check the file type first: the accepted sources are PNG, JPEG, WebP, GIF, SVG and BMP images. A reported error means no successful output was produced. If the image barely shrinks, it was probably already efficient — start from the original rather than from a copy that was compressed before.

Transparency needs care. The compression is lossy JPEG or WebP, and transparency is flattened onto white for JPEG, so a logo with a transparent background arrives on a white box. Choose WebP when the destination supports it, or keep a PNG for images where transparency matters. And an animated GIF input produces a single still image, because the output is one JPEG or WebP picture — use a still source when the result must be a photograph, not a frame.

Compressing a whole set of images

The tool processes one source file at a time, so a set of images is a series of short runs, not one batch. That is slower, but it has an advantage: you can find the right quality level on the first image and then use it for the rest. Pick a representative photo — one with the skin tones, skies or detail your set actually contains — test two or three quality levels on it, and settle the setting before you work through the rest.

Keep the workflow tidy. Compress copies, never originals, and save the results into a folder named for the job so they do not mix with the masters.

Keeping your originals safe

Compression is lossy: it discards information the eye is least likely to miss, and that information does not come back. A compressed copy can never be un-compressed into the original, which is why the originals must be archived. Keep full-quality masters in a folder you do not touch, and compress copies for web, email and sharing.

This matters most for photographs you may print one day. A print needs every pixel you captured; a web page needs almost none of them. The same file cannot serve both jobs at once, so keep both: the master for printing and archiving, the compressed copy for everything else.

Frequently asked questions

Which formats can I compress?

The tool accepts PNG, JPEG, WebP, GIF, SVG and BMP images as the source file. Select one, choose the output format and quality, and choose Process. A file in any other format will report an error and produce no output.

Why is there no PNG output option?

The output format offers JPEG and WebP only, because this tool does lossy compression, and PNG is a lossless format. For photographs, WebP or JPEG is the right result. For graphics with sharp text and edges, where PNG stays cleaner, keep the PNG or compress it with a tool that offers lossless output.

What does the quality number mean?

It runs from 0.1 to 1, starting at 0.8. Higher numbers keep more detail and make larger files; lower numbers make smaller files with more visible loss. The number is a trade, not a grade — 0.8 is a good starting point for photographs, and the right value is the lowest one where you cannot see a difference at display size.

Can I compress the same image twice to make it smaller?

You can, but you should not. Compressing an already-compressed copy costs quality and gains little, because the first pass already removed the waste. Start from the original file every time, and choose the quality level once rather than squeezing the same image again and again.

Does compression change the image dimensions?

Only if you set a maximum width. The setting starts at 0, which means the original width is kept, so the image comes out at the same size it went in. Set a width when the image is destined for a smaller slot, and the tool resizes it down as part of the compression.

Is my image uploaded anywhere?

No. The image is processed in browser memory and is not uploaded by this plugin. The compressed download stays on your device, and nothing about your image is stored on the site. That makes the tool safe for client work and personal photographs alike.

Related tools