Image Compressor
Reduce JPG or WebP file size with a quality slider. Live preview shows the compressed result and file-size savings before you download. PNGs can be converted to WebP or JPG for compression (PNG's own lossless format needs a dedicated quantizer).
Click here or drop an image
JPG, PNG, WebP · max ~50MB in-memory
Preview
Original
Compressed
How image compression works
JPG and WebP are lossy formats — they achieve smaller file sizes by discarding image information the human eye typically doesn't notice. The quality setting (0-100) controls how much information is kept. 100 keeps almost everything (huge file, near-perfect quality); 30 discards a lot (tiny file, visible artifacts). The sweet spot for most photos is 70-85 — noticeable savings with quality drop that's hard to see without pixel-peeping.
JPG vs. WebP
WebP is typically 25-35% smaller than JPG at equivalent visual quality, and supports transparency (unlike JPG). Modern browsers (Chrome, Edge, Firefox, Safari 14+) all support it. Use WebP by default unless you need JPG for compatibility with old software or email attachments to non-tech audiences.
Why PNG needs a different tool
PNG is a lossless format — it doesn't have a “quality” slider because it never discards information. To compress PNGs you need a quantizer that reduces the palette to fewer colors (e.g., 256 or fewer), which is a specialized algorithm not built into browsers. This tool converts PNGs to WebP or JPG instead — usually a much smaller file than any PNG optimization.
EXIF metadata is stripped
Re-encoding through Canvas drops all EXIF metadata — camera model, GPS coordinates, timestamps. This is a privacy win in most cases (uploading a phone photo to the web reveals your home location unless the metadata is stripped) but if you need EXIF preserved (professional photography workflows), don't use this tool.