Skip to content

Free local image compressor

Reduce JPG, PNG, and WebP photo and screenshot file sizes for websites and upload forms. Resize, crop, and convert locally. No image upload or account.

Image compression workspace

Settings
FormatWebP for best compression
Quality82 is a solid default
82
Higher = larger file. JPEG uses perceptual scaling.
Resize1.000 = original size
Options
Compression
Progress0%

Buy Me a Coffee

Localsquash is a free image compressor for reducing photo and screenshot file sizes without uploading them. Open JPG, PNG, WebP, BMP, or GIF and export WebP, JPEG, or PNG. Resize, crop, or remove metadata; each export contains one still frame.

How to compress JPG, PNG or WebP

  1. Select your image.
  2. Resize it to the dimensions you need.
  3. Choose WebP, JPEG, or PNG output.
  4. Compare file size and detail before replacing the original.

Which image format should I choose?

Resize to the dimensions you need, then compare output size and detail.

Photos

Start with WebP or JPEG at 75–85 quality. JPEG removes transparency.

Transparent graphics

Use PNG or WebP. PNG is lossless; WebP also offers a lossless mode.

Screenshots and small text

Compare PNG with lossless WebP. Keep the original dimensions when preserving pixels matters. Resizing changes pixels even with a lossless format.

Metadata

Strip metadata to omit embedded tags from the export. Keep the original if you need camera or copyright information.

Lossy compression changes detail. A smaller image is not guaranteed, especially if the source is already optimized.

Technical specifications

Localsquash image processing specifications
EngineFFmpeg compiled to WebAssembly (ffmpeg.wasm core 0.12.10, single-threaded), running in your browser tab
InputsJPG, PNG, WebP, BMP, GIF (first frame)
OutputsWebP (libwebp, lossy or lossless), JPEG, PNG (compression level 9)
ControlsQuality, resize, crop, strip metadata
TransparencyKept in PNG and WebP; JPEG has no alpha channel
Not supportedAnimated output, batch processing, exact-KB targets
MemoryLimited by the browser and device; phones fail sooner on large files
NetworkAbout 32 MB of engine files downloaded from cdn.jsdelivr.net when you select a file; your media is never sent

How to verify nothing is uploaded

  1. Open your browser’s developer tools and select the Network tab.
  2. Select a file and wait until the engine status shows Ready.
  3. Optionally switch the device offline, then start compression. It still completes because encoding runs locally.
  4. Review the requests: page assets, analytics, and ffmpeg-core files appear, but no request contains your media.

Image compression FAQ

How do I make a photo smaller for an upload form?

Check the form’s allowed formats, pixel dimensions, and KB or MB limit. Select the photo, resize it if needed, and export JPEG or WebP if accepted. Lower quality gradually and check the downloaded size. Localsquash does not automatically target an exact image file size.

Are my images uploaded?

No. FFmpeg WebAssembly processes images locally in your browser. The processing engine is downloaded when needed.

Can I compress PNG without losing quality?

Keep the original dimensions and use PNG or lossless WebP. Cropping or resizing changes the image. An already optimized source may not become smaller.

Can I convert JPG or PNG to WebP?

Yes. Select WebP output and adjust quality, or enable lossless mode. Compare the exported image before replacing your original.

Can I compress animated GIFs or multiple images?

This tool exports one still frame and processes one file at a time. It does not preserve an animation or provide batch compression.

Can I compress an image to an exact KB limit?

The image tool does not target an exact KB size. Reduce dimensions or lower WebP or JPEG quality, then compare the downloaded file with your form’s limit. Repeat as needed. Large images can exceed browser memory.