Skip to content
TNToolsNexus

Compress an image

Shrink JPG, PNG, and WebP file sizes with a live quality slider — see the new size before you download. Nothing is uploaded.

Drop a JPG, PNG, or WebP here, or

Compression runs live as you move the quality slider

Files never leave your browser — all processing happens on your device.

Move the slider, watch the size drop, download when it looks right. This compressor re-encodes your image live on your device — you see the exact output size at every quality level before committing, and your photo never leaves your browser.

How to compress an image

  1. Add your image — JPG, PNG, or WebP.
  2. Move the quality slider — the compressed size updates automatically a moment after you stop, along with the percentage saved.
  3. Pick the output format — JPG for maximum compatibility, WebP for smaller files with transparency support.
  4. Download when the size/quality trade-off suits you.

Why file size matters more than people think

Email providers bounce attachments over 20–25 MB, upload forms enforce hard limits, and every extra megabyte on a web page slows it down for readers on mobile data. Compression is the difference between “attachment too large” and done. A typical 4 MB phone photo compresses to 300–600 KB at 70% quality with no visible change at normal viewing sizes.

Getting the most out of it

Compression works best after the pixels are right: if the image is destined for an 800-pixel slot, resize it first — fewer pixels means a smaller file at any quality. Cropping dead space with the crop tool helps the same way. And if the destination wants a PDF instead of an image, compress first, then feed the result to JPG to PDF — the savings carry through.

Limits and tips

  • PNG input converts to JPG or WebP for compression (PNG’s lossless format has no quality dial); keep WebP if you need the transparency preserved.
  • Text and line art show compression artifacts sooner than photos — stay above 80% for screenshots with small text.
  • Repeated compression compounds: always compress from your original, not from an already-compressed copy.
  • Size cap: 50 MB per image.

Private by design

The encoder runs in a Web Worker in your browser — there’s no upload, no queue, and no copy of your image anywhere but your device.

Last updated:

Frequently asked questions

How does the live compression preview work?
Every time you move the quality slider, the image is re-encoded on your device and the new file size appears within a moment — so you can find the sweet spot between size and quality before downloading anything.
What quality setting should I use?
For photos, 60–80% is the sweet spot: big savings with differences most eyes can't spot. Go lower for thumbnails and previews; stay at 85%+ for images with fine text or sharp graphics.
Why does my PNG shrink so much when compressed?
PNG is lossless, which keeps every pixel but produces large files for photos. Converting a photographic PNG to JPG or WebP at 70–80% quality routinely cuts 80–90% of the size. Keep PNG only when you need transparency or pixel-perfect graphics.
JPG or WebP — which should I pick?
WebP compresses 20–30% smaller than JPG at similar quality and supports transparency, and every modern browser reads it. Choose JPG when the file must open in older software or strict upload forms.
Is my image uploaded during compression?
No — the re-encoding runs entirely in your browser. Nothing is transmitted or stored.

Related tools

Image Resizer

Resize images to exact pixel dimensions or by percentage — lock the aspect ratio, pick the output format, and download. Free, private, in your browser.

Crop Image

Crop images freely or to presets for Instagram, Stories, and YouTube thumbnails — drag the box or type exact pixels. Free and private.

JPG to PDF

Convert JPG and PNG images into a single PDF — one page per image, in your order. Free, private, no watermark.