Image compressor

Try to reach a file-size target with JPG, PNG, or WebP images.

Your images stay on this device. Files, previews, and results are processed in your browser.

Choose images

No files selected

Up to 10 files, 10 MiB per file, and 50 MiB per batch.

Output settings

1 KB = 1,000 bytes

How to use this tool

Enter a target in decimal KB or choose a 50, 100, or 200 KB preset. The tool starts at the original dimensions and tries a limited set of encodes. Allow smaller dimensions when you can trade resolution for file size.

The result shows the actual byte count and whether it fits the target. When keeping the same format, the tool can return the original if it already fits or re-encoding does not make it smaller. If you miss the target, allow smaller dimensions if acceptable, try another format, or use the best available result. PNG is lossless; the quality ceiling applies to JPG and WebP.

Supported files and limits

  • Static JPG, PNG, and WebP images. The app checks file contents and rejects animation. If the file is rejected, try a fresh static export in the supported format rather than renaming it.
  • Up to 10 files, 10 MiB per file, 50 MiB per batch, 12 megapixels, and 8,192 pixels on either side.
  • ZIPs stay below 100 MiB. If a direct download doesn’t start, prepare a ZIP to get your results. A cancelled batch keeps its completed outputs available.
  • Outputs use the browser’s image and color handling. Keep your original if you need its camera metadata or professional color profile.

Fit an image under an upload cap

A form that asks for a JPEG below 100 KB is checking the saved file, so start by matching the required format. Choose JPG, set 100 KB, and try compression with dimension reduction off. Compare the preview and the reported bytes. Fine writing, edges of a seal, and facial features are useful places to zoom in before submitting an important file.

If the smallest attempt is still over the cap, keep it open while you check whether the destination permits smaller pixel dimensions. Enabling reduction lets the compressor try smaller sizes. For a site that also requires a specific width and height, resize to those dimensions first and then compress that output. Repeated JPEG encoding can degrade edges and texture, so start fresh from the original when adjusting several settings.

A transparent diagram usually needs PNG or WebP if the background must remain transparent. A busy photo can be hard to fit as PNG because its compression is lossless. Check the actual downloaded size against the destination's units and save the best acceptable result. When the original already meets the target and the source format is kept, the tool can return the original file.

For a worked example, read How to compress an image to 100 KB.