Image Tools

Image Compressor

Reduce image file size with JPEG or WebP quality controls and optional dimension limits. Compare original and output bytes, inspect the preview and download locally. Smaller output is not guaranteed.

Your content stays on your device Free, with no account
Less weight. Your choice of quality. Local compression · no uploads

No file selected.

Static PNG, JPEG or WebP · up to 20 MiB and 40 megapixels

No image selected.

Lower quality can reduce file size at the cost of detail. PNG ignores this control.
JPEG fills transparency with this color. PNG and WebP retain alpha.

Original dimensions are kept unless you enable the limit. Limiting dimensions never enlarges the image. Output must fit within 8,192 pixels per side and 16 megapixels.

YOUR COMPRESSED IMAGE

Your result appears here after compression.

Ready. Choose an image to begin.

Smaller output is not guaranteed. The comparison uses actual encoded bytes, even if you change format or dimensions. Inspect details before downloading. Canvas export does not preserve original metadata or guarantee the same color profile.

A FEW SIMPLE STEPS

How to use Image Compressor

  1. Choose or drop a static PNG, JPEG or WebP image. Its original dimensions, size and a preview appear locally.
  2. Choose an output format and adjust JPEG/WebP quality. PNG re-encoding ignores the quality control.
  3. Optionally enable the dimension limit to fit within a maximum width and height without enlargement or cropping.
  4. Select Compress image, compare the actual output bytes and visual quality, then download if the result meets your needs.
PRIVATE BY DESIGN

Why use this tool?

Your image is never uploaded to any server; all decoding, re-encoding and size comparisons happen locally in your browser. No account or image history is needed. Actual original and output byte counts are compared, and larger exports are clearly identified instead of being presented as savings.

Tool inputs stay in your browser. Only your theme preference is saved on this device.

A few things worth knowing

Will this always make the file smaller?

No. Already optimized images, different formats, encoder settings and PNG re-encoding can produce a larger output. The tool shows actual file sizes and labels smaller, larger or unchanged results. It never substitutes the original to disguise a larger export. Try a lower lossy quality, smaller dimensions or another format, then inspect the image.

How does the quality setting work?

JPEG and WebP exports use the browser’s encoder with a quality setting from 1 to 100. Lower settings can trade detail for file size; the scale is browser- and format-dependent and does not guarantee a target size. PNG has no quality parameter here: it is losslessly re-encoded from the decoded raster after any optional resizing, with no palette optimization. Converting a lossy source to PNG does not restore lost detail.

Are dimensions changed automatically?

No. Original dimensions are kept unless you enable Also limit dimensions. That option fits inside both maximum dimensions, preserves aspect ratio with whole-pixel rounding, never enlarges smaller images and does not crop or pad. Output is limited to 8,192 pixels per side and 16 megapixels; larger originals need the dimension limit enabled.

Which files and transparency options are supported?

Static PNG, JPEG and WebP inputs up to 20 MiB, 40 megapixels and 16,384 pixels per side are supported. SVG, GIF, AVIF, HEIC and detected animated PNG/WebP are not supported. PNG and WebP keep transparency where supported. JPEG fills transparent pixels with the chosen background color. Unsupported browser output formats cause an error instead of a silently mislabeled file.

What exactly does the size comparison measure?

It compares the original selected file’s byte size with the newly encoded output’s byte size. Savings and increases are measured against the original, even when output format or dimensions differ. The exact byte difference is shown in the explanation; the main size boxes show rounded KiB. This is not a network-transfer, gzip or visual-quality measurement.

What happens to metadata, color and pending results?

Canvas export creates a new raster image, so original metadata, encoded bytes and color-profile behavior are not preserved or guaranteed. The browser handles image orientation and interpolation. Changing settings or files discards any old download and pending result. Clear and leaving the page release application-held images and local URLs. Encoding has a 15-second response limit; device memory can impose smaller practical limits.