Image Compressor

Make image files smaller. Compare previews and adjust quality and dimensions.

Select an image, then check the result against your limit.

1 KB = 1,000 bytes · Leave blank to compress without a size limit.

This tool needs JavaScript and a modern browser with local image processing support.

How to use

What changes when an image is compressed?

File size depends on dimensions, image detail and the encoding format. This tool lets you compare actual output bytes and visible detail; a quality setting is not a percentage reduction in file size.

Step by step

  1. Choose one supported picture and check its original dimensions and file size.
  2. Choose the format required by the destination. For JPEG, enter a KB limit only when the upload form specifies one.
  3. Wait for the refreshed preview, inspect small text or faces, then download and check the result's actual bytes.

Choosing the settings

OptionWhat changes
PNGLossless optimization preserves transparency and text edges. An already optimized PNG may not become smaller.
JPEGUseful for photos. Transparent areas become white. Quality 92 is the manual default; automatic size targeting searches at 70 or above.
WebPKeeps transparency, but the receiving service and your browser must support the output. Quality affects detail.
Maximum edgeReducing dimensions can meet a difficult size limit, but it also reduces pixels. Size targeting never resizes automatically.

Example and expected result

For a 200 KB upload limit, enter 200: the ceiling is 200,000 bytes. A 198,400-byte result meets the byte limit; a 205,000-byte result does not. These are acceptance examples, not measured output from your photo. The receiving site can also require a particular format or pixel size.

If it is not working

  • Input is limited to 20 MB, 16 million pixels and 8192 pixels per side. Use a smaller source when a limit is exceeded. Processing is cancelled after 30 seconds.
  • If the JPEG target is unreachable at quality 70 or above, reduce dimensions deliberately or raise the ceiling. Do not treat a red limit warning as a successful result.
  • If output is larger than the original, keep the original or change settings. Always preserve the source until the receiving service accepts your exported file.

HEIC photos load an additional local decoder on first use; large originals can take longer to process.

How should I choose the settings?

PNG preserves fine text and transparency. JPEG and WebP use quality 92 by default; lower settings reduce detail.

For a JPEG upload limit, automatic search checks actual bytes and refines quality in one-point steps. It never goes below 70 or resizes automatically; an unreachable limit is marked clearly.

What happens to transparency and the original photo?

Lossless PNG optimization. Transparency is preserved.

JPEG replaces transparent areas with white.

WebP keeps transparency. Check that your destination supports it.