Skip to main content
Image toolsLocal in browser — nothing is uploaded

Image compressor

Compress JPEG, PNG, and WebP images or convert between formats locally in your browser without accounts, upload queues, or tracking.

Local browser processing. Your images are processed directly in your browser. They are not uploaded to our servers.

Drop an image here or choose a file

Supports static JPEG, PNG, and WebP files up to 25.0 MB. Animated images and SVG vectors are rejected to prevent accidental flattening.

Processing runs inside your browser without accounts or server uploads. Modular TypeScript domain logic tested locally.

Report a problem with this tool

Supported formats and behavior

Inputs accepted: Static JPEG, PNG, and WebP images up to 25 MB (maximum 16,384 px per side and 64 megapixels total). File headers are verified by binary signature rather than extension alone.

Not supported: Animated GIFs, animated WebP sequences, SVG vector graphics, PDFs, HEIC, and RAW files are rejected with an explanation so animations or vectors are never silently flattened.

Encoding engine: Compression uses your browser's native WebP, JPEG, and PNG encoders via OffscreenCanvas inside a Web Worker when available, keeping the interface responsive.

Metadata, transparency, and privacy

Zero file uploads: Everything runs inside browser memory on your device. No image bytes are sent over the network, and object URLs are revoked once replaced or closed.

EXIF stripping: EXIF orientation is applied when decoding photos so portrait images stay upright, while camera details, timestamps, and GPS coordinates are removed during re-encoding.

Alpha channels: WebP and PNG outputs preserve transparency. Converting a transparent PNG or WebP to JPEG fills transparent pixels with your selected background color.

Frequently asked questions

Are my images uploaded to any server?
No. Decoding, Canvas rendering, and compression run locally inside your browser using Web Workers and OffscreenCanvas (with main-thread Canvas fallback). Your files stay on your device.
Why did PNG output become larger than my JPEG or compressed PNG?
Browsers encode PNG output losslessly and ignore lossy quality parameters. Converting a lossy JPEG or an already quantized PNG through Canvas often expands the byte size. Use WebP or JPEG when reducing photographic file sizes.
What happens to transparency when converting to JPEG?
JPEG has no alpha channel. Rather than letting transparent areas turn black, the tool composites transparent pixels onto the background color you choose (defaulting to white #FFFFFF). Choose WebP or PNG to preserve transparency.
Is EXIF metadata preserved?
EXIF orientation is respected when decoding images so upright photos stay upright, while embedded EXIF, camera, and GPS tags are stripped automatically during Canvas re-encoding.