Image Compressor

Reduce image file sizes and compare the result before downloading. Choose a quality setting, a target file size or a maximum width. Lossy compression can change visible detail, so keep your original and use the comparison preview. Images are processed in your browser rather than uploaded to this site.

Drop images here, or choose filesJPEG, PNG, WebP, GIF or AVIF · as many as you like · nothing is uploaded

Auto uses WebP where the image has transparency and JPEG where it does not.

Select an image to compare.

Why an already-small image may come back unchanged

This sounds like it should go without saying, and it is the single most common failure in browser-based compressors: you put in a 90 KB photo, and a 140 KB file comes back.

The reason is that re-encoding an already-compressed JPEG at high quality can genuinely produce more data than the original. The compressor is faithfully recording all the compression artefacts that were already there. You end up with a larger file that also looks slightly worse.

So this tool checks. If the result is the same size in pixels and no smaller in bytes, it discards it and gives you back the original, untouched, and tells you why. A file marked already small is not a failure — it is the correct answer.

Which mode to use

By quality is the one to reach for most of the time. Start near the default, then compare detail at the intended display size. The result depends on the image and export format. Use the wipe handle on the preview rather than trusting the number: the right quality depends on the picture, and faces, gradients and flat colour all behave differently. To a target file size is for when something else sets the limit — a 2 MB upload cap, a 500 KB attachment rule, a marketplace that rejects anything larger. It searches for the highest quality that still fits at full resolution, and only reduces the pixel dimensions if the target genuinely cannot be reached any other way. That order matters: a tool that shrinks the image first will hit your 500 KB target with a needlessly small picture. To fit a maximum width is usually the biggest single win for a website, and the most overlooked. A 4,000 px photo displayed in an 800 px column is carrying 25 times the pixel count needed for the same proportions at 800 px wide. No amount of quality tuning fixes that — only resizing does.

Image compressor: practical settings and download checks

A useful smaller image still does its job: a customer can read the product label, a transparent logo keeps its edges, or an upload form accepts the file. Start with that requirement. Keep a separate original, then use the steps below to choose a setting and judge the result. These examples explain decisions rather than promise a particular reduction.

What each control changes

By quality
This mode keeps the source pixel dimensions. The slider starts at 82 and runs from 30 to 95. Lower it in small steps while inspecting the preview. A value of 82 describes an encoder setting, not “82% of the original detail”, and a different format can look different at the same number.
To a target file size
The starting target is 200 KB. The tool searches quality settings at the original dimensions first. If that is insufficient, it tries smaller dimensions. The quality slider is not a second active control in this mode. A warning means the requested limit was not achieved; the available download can still exceed it.
To fit a maximum width
The starting width is 1600 pixels. Smaller source images are not enlarged. Taller images follow the same width rule, with their proportions retained. This mode uses its own fixed encoding setting; switching from quality mode does not carry your slider choice into the resize.
The controls apply to the whole current batch. If a logo needs different treatment from photographs, download and check one group, clear the list, then process the next group. Changing a setting starts processing the listed images again.
Image compressor format decisions for photos, transparent edges and fine text.
Choose the format for the destination and inspect the details that matter.
Image compressor resize illustration: halving both dimensions leaves one quarter of the pixels.
This is pixel arithmetic. It does not predict a fourfold reduction in file bytes.
Image compressor download checklist: open the saved file, check bytes and dimensions, then inspect detail.
The receiving service and the actual downloaded file are the final checks.

A worked resize example: pixels and bytes are different

Imagine a landscape photo measuring 3000 × 2000 pixels. Set maximum width to 1500 and the proportional result is 1500 × 1000. The original contains 6,000,000 pixels; the resized version contains 1,500,000. Halving both dimensions leaves one quarter of the pixels. That does not mean its file must be one quarter of the bytes: format, image detail and encoding also affect file size.
Fictional comparison record — not a compression benchmark. Suppose an original is 2,400,000 bytes and an acceptable downloaded copy is 480,000 bytes. The saving would be 1,920,000 bytes, or 80%: subtract the output bytes, divide by the original bytes, then multiply by 100. These invented numbers demonstrate the calculation only. They are not results produced by the pictured resize or a prediction for your image.
For your own comparison, record the original dimensions and bytes, the selected mode and format, and the downloaded dimensions and bytes. Add a short note such as “label readable at intended display size”. This makes it easier to choose between two candidates without mistaking the smallest file for the most useful one.

A target-size workflow for a strict upload limit

  1. Read every requirement. Note the allowed formats, maximum bytes, minimum dimensions and any required crop. A file can fit the byte limit and still fail because it is too narrow or the receiving service does not accept WebP.
  2. Allow for different size units. If a form means exactly 500,000 bytes by “500 KB”, entering 500 here represents 512,000 bytes. As a starting allowance, a target of 470 represents 481,280 bytes. Choose a suitable margin, then check the actual saved file rather than relying on rounded labels.
  3. Read the completed dimensions and warning. Target mode may reduce resolution. Check that the result still meets the receiving service’s minimum width and height. If it says the target was missed, do not submit it on the assumption that the requested number was achieved.
  4. Inspect, download and submit the copy. If text or faces become unacceptable, try a less demanding limit if permitted. Otherwise crop unnecessary area in an image editor before starting again. This tool has no crop control. An impossible combination of tiny bytes, large dimensions and intricate detail cannot be solved by a label.
If the same-dimension encoded candidate is no smaller, the tool can offer the original unchanged. That protects an already-efficient file; it does not certify that the original meets an upload rule. Always compare its reported bytes with the destination limit.

Read the result labels before choosing a file

Already small means the same-dimension candidate did not improve the byte size, so the original is offered. No gain can appear on a resized result that did not reduce bytes. A smaller width does not itself guarantee a smaller file, particularly when changing formats. Compare both the byte count and dimensions instead of treating a new filename as proof of compression. Working means a completed output is not ready for that row; failed means an output could not be produced. Select the row you intend to download and wait for processing to settle after changing controls. A saving percentage describes bytes saved, not visual quality. Even a large positive saving needs a readability check, and an unchanged result can be the preferable choice when the source is already efficient.

Width, height and a portrait-image limit

Maximum width is a width limit, not a box that caps both edges. A 1200 × 3000 portrait set to width 800 becomes 800 × 2000. If an application instead requires a maximum height of 1000, preserving this example’s proportions would require width 400. Calculate the needed width or resize in an editor that accepts a height limit, then inspect the saved dimensions. For a website, ask where the image will appear before choosing dimensions. A narrow thumbnail and a full-width banner need different exports. High-resolution screens may benefit from more source pixels than the displayed CSS width, while sending the largest original to every visitor wastes data. MDN’s responsive image guide explains how a website can offer several sizes. This compressor prepares individual files; it does not configure a site’s responsive markup.

Transparency, fine text and format selection

For a cut-out product image or transparent logo, explicitly select WebP when that format is accepted and available. Auto uses a transparency check, but a very small or faint transparent feature deserves a manual check. Inspect the saved image against the background where it will be used. Explicit JPEG output fills transparent areas with white in this tool, so it can add an unwanted white rectangle. For a screenshot containing small text, compare letters, thin rules and flat-colour edges. Quality-controlled JPEG or WebP can change those details. There is no selectable PNG-output setting or dedicated lossless-WebP switch here. Keep the original PNG when that is the better readable result, or use a suitable lossless encoder for a requirement that demands it. Google’s WebP documentation describes the format’s lossy, lossless and transparency capabilities; not every capability is exposed by this tool. A browser’s supported export types also matter. Canvas export can fall back to PNG when a requested type is unsupported, as documented by MDN’s canvas export reference. If a receiving system rejects the download’s type, verify the actual format in a trusted image application. Renaming an extension does not convert the image.

Review the actual download before sharing it

  • Open the saved copy. Select each row to compare its preview, then check the file that reached your downloads folder. Confirm that you did not accidentally choose the original from a similarly named file.
  • Check detail at a useful size. Inspect faces, text, gradients and transparent edges, then view the image at its intended display size. The preview is useful for comparison, but a scaled preview can conceal small artefacts.
  • Check orientation and colour. Make sure a portrait remains upright and important colours look acceptable in the intended application. Browser image decoding and colour handling can vary; MDN documents orientation and colour-space options. This tool is not a print-proofing workflow.
  • Check metadata separately when it matters. A download marked “original kept” retains the original bytes, including their metadata. Do not use its smaller-file status as evidence that GPS or other private fields were removed.

Batch downloads and files that fail to open

Download all starts individual downloads; it does not create a ZIP archive. Your browser may ask whether to allow multiple downloads. Check that every expected file arrived, especially after processing a large batch. Keep groups small enough for your device to remain responsive, and wait until processing has finished before choosing a result. Newly encoded files normally have “-compressed” added to their names; a file kept unchanged retains its original name. Save results in a separate folder if you need an easy comparison. Different source folders can contain identical filenames, and your browser may rename duplicate downloads. Check the file itself rather than assuming the newest-looking name is the right version. Clear removes items from this tool’s queue; it does not delete your originals or copies already downloaded. If an image never appears in the list or a row reports failure, try that file alone. The browser may be unable to decode it or allocate enough memory. Export a fresh still JPEG or PNG from the application that created it, retain the original, and try again. Animated inputs need an animation-aware workflow when motion must be kept. Once the downloaded copy passes the size, dimension and visual checks, keep that copy alongside the original so a later edit can start from the best source.
Image compressor result decisions for original kept, smaller encoded, resized with no gain, and target missed.
Read the status, then inspect the actual downloaded copy.

Choose by the result, not just the label

Each status describes one processing attempt. “Original kept” returns the source file, so its metadata remains too. A smaller encoded copy records a byte saving; inspect important detail before accepting it. A resized file marked “no gain” can have fewer pixels yet more bytes. If the target was missed, compare the downloaded file’s actual byte count with the receiving service’s limit. None of these labels certifies visual quality, upload acceptance or metadata removal. Keep your original and open the exact copy you intend to share.

JPEG, WebP or PNG

JPEG for photographs. Universally supported, and still excellent at what it does.

WebP for roughly 25–35% smaller files at the same visible quality, with transparency support that JPEG does not have. Every current browser reads it. The caveat is outside the browser: some older desktop software and a few email clients still do not, so it is a better choice for your website than for a file you are emailing to a client.

PNG is for screenshots, logos, line art and anything with hard edges or transparency. It is lossless, which is why a photograph saved as PNG is enormous. If a PNG photograph is slowing your site down, converting it to JPEG or WebP is the fix.

Leave the format on Auto and the tool checks each image for transparency, sending transparent images to WebP and everything else to JPEG.

What compression actually removes

JPEG and the quality-controlled WebP output used here employ lossy compression. Some image detail can be discarded, especially at low quality settings, and raising the quality again cannot reconstruct what was removed.

WebP also supports a separate lossless mode; it is inaccurate to describe the whole format as always lossy. See Google’s WebP format documentation. This tool exposes JPEG and WebP output choices, not a dedicated lossless WebP encoder setting.

Start from the original file for each new version. Inspect fine text, gradients and edges as well as the overall picture. Keep the original if the smaller version is not acceptable for its intended use.

Common questions

Are my images uploaded?

The compressor processes selected images in the page using your browser. It does not upload those files to this site. Very large files remain limited by your device’s memory and browser capabilities.

Why can an already-small image come back unchanged?

If the encoded version is no smaller and has the same pixel dimensions, the tool can return your original file. That preserves the original bytes instead of giving you a larger re-encoded copy.

Does the output always remove EXIF and GPS metadata?

No. Re-encoding from canvas does not copy the source EXIF metadata, but when the tool returns your original untouched, its metadata remains too. Do not treat an unchanged download as a metadata-sanitised file. Inspect the resulting file before sharing it if location or other metadata matters.

What quality should I choose?

Start near 80 and inspect the comparison. The right setting depends on the image and use. The same slider value can produce different output across formats and browsers. See MDN’s canvas export documentation for the browser encoding controls.

Can I hit a file-size limit?

Choose target-size mode, check the completed result and leave some room below the receiving system’s limit. The tool uses 1,024 bytes per displayed KB, while some upload forms use 1,000; for a strict decimal-byte cap, choose a slightly smaller target. Read our file-size guide for the workflow.

What happens to animation?

This canvas-based tool is for still images. A GIF or animated input can be rendered as a single frame rather than preserving its animation. Keep the original animation or use an animation-aware encoder when motion matters.

Updated 19 October 2026: clarified lossy output, the original-file metadata exception, binary file-size units and still-image limitations. Published by Talentra Solutions · Report a tool issue.