Image Compressor

Compress images in your browser — no upload, no server, full privacy.

100% local · no upload
Format
Quality 75
BEFORE
AFTER
Original
Compressed
Saved

Quick guide

Use cases, answers, and nearby tools

Compact below-tool notes that help first-run users and repeated visitors move faster without changing the main interface.

Chinese search: 圖片壓縮、JPG 壓縮 線上、PNG 縮小、WebP 轉換、減少圖檔大小、照片瘦身、上傳前壓縮

How to use

Run a clean first pass

  1. Drop or click to upload a JPEG, PNG, or WebP (10 MB per file max) — the whole pipeline runs in your browser, the image never leaves your device, works offline.
  2. Use the quality slider to trade file size for visual quality. JPEG and WebP respect quality; PNG is lossless, so the slider auto-disables.
  3. Switch the output format: WebP usually beats JPEG by 25–35% at matching quality AND preserves alpha; PNG is lossless and the largest, also preserves alpha; JPEG is the most compatible but cannot encode transparency (transparent pixels are filled white before encoding).
  4. Watch the live BEFORE / AFTER panels and the savings % readout — eyeball whether the current quality is acceptable before downloading.
  5. Click Download to save straight to your device. Reset returns the slider to the default 75 for the next try.

Examples

Real jobs this page helps with

  • Blog hero image slimmingA 2 MB JPEG straight out of a camera usually compresses to ~200 KB at quality 65 with no visible loss — single biggest hit you can take on LCP and Lighthouse scores.
  • Messaging attachment fitA 3 MB DSLR photo at quality 75 lands around 800 KB — comfortably inside the attachment limits on Line, Telegram, Slack, and most chat apps with no cropping.
  • Convert legacy PNG to WebPInterface screenshots and icons saved as PNG shave another 25–35% by switching the output to WebP. Cloudflare Pages and nginx serve WebP natively, so the swap is zero-config.
  • Portfolio & résumé imagesCompress high-res shots to 300–500 KB before dropping them into a PDF résumé or online portfolio — smaller file, faster load, no visible quality loss.

FAQ

What people usually want to know

Is my image uploaded to a server?

No. All compression runs locally in your browser via the Canvas API — open DevTools and check the Network panel, you will see zero uploads. Works offline too.

Why doesn't the quality slider work in PNG mode?

PNG is lossless, so it has no quality parameter. To shrink a PNG, switch the output to JPEG or WebP and pick a quality there.

What quality should I pick?

70–80% looks great for general web; 60% is fine for social thumbnails; 85–95% is right for archival. The live BEFORE / AFTER panels update instantly, so eyeball-comparing beats guessing.

What's the biggest image this handles?

Up to 10 MB and ~4000×4000 px work smoothly. Anything over ~16 MP is auto-downscaled to 50% before compression so mobile stays responsive — the output dimensions are halved. One file at a time in this version.