Skip to content
FreeToolsPoint โ€” All Free Online Tools
JPG, PNG and WebP

Image Compressor & Converter

Add one or more pictures, choose a quality, a maximum dimension, an output format or a target size in kilobytes, and download the results one by one or as a ZIP. Everything is decoded and re-encoded by your own browser; no file is uploaded.

Re-encoding drops EXIF data and cannot undo earlier compression

Process your images

Settings apply to every file in the batch. Add the images, set the options, then select Process Images; each result shows its original and output size.

Drag and drop images here
Or select this area to browse files on your device
Any image format your browser can decode may be selected
Quality: 80%

1 KB = 1,024 bytes. Best effort: the result line reports whether the target was met.

Use 0 to retain the original dimensions

The work happens in this tab, so a large batch can make the page unresponsive for a while on a slower device.

Who it is for

It suits anyone who needs a photograph to fit an upload limit, a set of product shots trimmed to one dimension, or a screenshot in a different format. It is a batch re-encoder, not an editor: no cropping, rotating, retouching or colour correction.

What each setting does

Output format

"Keep original format" re-encodes each file as its own type. Choosing JPG, PNG or WebP re-encodes to that type instead: the picture is drawn onto an HTML canvas and written out again, and the file extension is renamed to match, so photo.png becomes photo.jpg. That canvas step writes at a fixed 92 per cent quality, so the slider has less influence when you also change format; use the target size to push a converted file down.

Requested image quality

The slider runs from 10 to 100 per cent and starts at 80. It is passed to the encoder as a request, not a guarantee, and it only means something for lossy formats: PNG is compressed without discarding detail, so the slider barely changes a PNG-to-PNG result. Shrinking the dimensions does far more.

Maximum width or height

Zero keeps the original pixel dimensions. Any other number is an upper bound on the longer side with the aspect ratio kept, so 1600 turns a 4000 ร— 3000 photo into 1600 ร— 1200. It is a ceiling, not a target: a smaller picture is not enlarged.

Target file size

A figure between 1 and 100,000 KB adds a second pass that tries to reach it, and the smaller of the two attempts is kept. It is best effort: the result line reports either "Target met." or "Target not met; try a smaller dimension or a different format." A target far below what the current dimensions can hold will not be reached by quality alone.

Download option

Individual downloads give each result its own button. The ZIP option also builds images-optimized.zip in the browser and reveals one download button when processing finishes.

What it can read and write

Input is whatever your browser can decode as an image; anything it does not report as an image type is refused with "Please select image files." Output is the original type, JPG, PNG or WebP โ€” HEIC, AVIF, TIFF, SVG and PDF are not offered as outputs even when the browser can open them.

Writing depends on the browser too: where it cannot encode the type you asked for, the canvas standard has it fall back to PNG, which can be larger than the file you started with. An animated GIF or WebP loses its animation, because the canvas holds one frame and the output is a still picture of the first.

Transparency, colour and metadata

JPG has no alpha channel. Converting a PNG or WebP logo with a transparent background to JPG therefore flattens it, and in current browsers the transparent areas usually come out black rather than white. Keep PNG or WebP when transparency matters.

Because every output is written from decoded pixels, the surrounding metadata is not carried across: EXIF fields such as camera model, capture date and GPS coordinates, plus embedded ICC colour profiles and XMP data, are absent from the new file. That helps if you would rather not publish where a photo was taken, and hurts if you relied on the capture date or a wide gamut.

Lossy compression is not reversible, so re-processing an already-compressed JPG adds a second round of artefacts around edges and text. Work from the original file where you can.

Reading the result card

  1. The heading line gives the output file name and its size to the nearest kilobyte.
  2. Below it, both sizes appear to two decimals as "Original: โ€ฆ KB. Output: โ€ฆ KB.", ending with whether a target you set was met.
  3. If a file could not be processed the card says "Processing failed; this download is the original file." โ€” so that download is your untouched original.
Sizes use 1 KB = 1,024 bytes. Your operating system may divide by 1,000 and show a slightly larger number for the same file.

Common mistakes

  • Dragging the quality slider down to shrink a PNG screenshot. Reduce the dimensions, or convert to WebP, instead.
  • Converting a transparent logo to JPG and only noticing the black background after it is published.
  • Setting a 20 KB target on a full-resolution camera photo. Pair a target with a maximum dimension so the second pass has room to work.
  • Deleting the original. Nothing here can restore the detail a lossy encode removed, and each further pass adds more.

For a longer explanation of what you trade away at each quality setting, see image quality versus file size.

Limits

  • One set of settings for the whole batch.
  • No cropping, rotating, watermarking or colour editing.
  • Animation, EXIF, ICC profiles and XMP data are not preserved.
  • The target size is best effort and reports a miss rather than trying indefinitely.
  • Processing runs on the page's main thread, so long batches depend on the memory your browser gives the tab.

Questions

Are my pictures uploaded anywhere?

No. Files are read, decoded, re-encoded and offered back as downloads inside the browser. The previews and download links point at temporary in-memory addresses in your own tab.

Why did a file get bigger after processing?

Usually because the output format changed to a lossless one โ€” asking for PNG from a JPG photo, or a fallback to PNG when the browser could not write the format you chose. It can also happen if the requested quality is higher than the file's own.

How much smaller will my files be?

There is no reliable figure to quote: it depends on the format, the dimensions, how much detail the picture holds and how heavily it was compressed already. The result card gives the real before-and-after size for your own file.

Can I use it to strip location data from photos?

Re-encoding drops EXIF, including GPS coordinates, as a side effect of how the output is written. If that is the point of the exercise, check the result with a metadata viewer rather than taking it on trust.

Reviewed October 1, 2026. Calculation methods and corrections