🗜️ Image Compressor — Free Online

Compress JPG, PNG and WebP photos with a quality slider and live before-after KB comparison. Free online image compressor running locally, no signup.

Your files stay on your device. This tool processes PDFs locally in your browser whenever the tool supports it — no uploads, no account. Privacy policy

Shrink JPG, PNG, and WebP photos with a quality slider and instant byte comparison — everything happens on your device, nothing uploaded.

How to use image compressor

  1. Choose an image or drag & drop it.
  2. Set quality (80–85 is the sweet spot) and max width.
  3. Compare sizes and download the result.

What image compression actually does

Compression reduces the number of bytes used to store an image. Lossy formats such as JPG, WebP and AVIF discard detail the eye is less likely to notice. Lossless compression (PNG, or WebP in lossless mode) packs the same pixels more efficiently.

Compression is not resizing. A 4000 px photo stays 4000 px unless you also change its dimensions. For web images, resizing to the display size usually saves more than any quality slider.

Quality settings that hold up

FormatStarting qualityTypical savingBest for
JPG80–8560–80% vs camera originalPhotos, universal compatibility
WebP75–8025–35% smaller than JPGModern web, transparency
PNGLossless0–70% with palette toolsText, screenshots, logos
AVIF50–6030–50% smaller than JPGModern browsers, large images

Below quality 70, skies, skin tones and gradients start to band. Compare at 100% zoom before publishing.

Target file sizes for the web

These targets keep pages fast without visible damage. Google’s Core Web Vitals reward fast Largest Contentful Paint, and images are usually the largest element on a page. Serving a 2 MB hero image where 200 KB would look identical is one of the most common performance mistakes.

UseTarget sizeTypical width
Hero image150–300 KB1600–2000 px
Blog inline image50–150 KB800–1200 px
Product image50–150 KB1000–1500 px
Thumbnail10–30 KB300–600 px
Email image50–100 KB600 px

Resize first, then compress

A 4000 × 3000 photo displayed at 800 × 600 wastes 95% of its pixels. Resize it to 800 px first, then compress at quality 80. The result is often 80–120 KB instead of 2–4 MB, and it looks the same on screen.

If you compress first and resize later, you bake compression artifacts into the smaller file. Always start from the largest original you have.

When not to compress

  • Print and archiving: keep a high-quality or lossless master.
  • Medical, legal or evidence images: compression can remove diagnostically relevant detail.
  • Fine text and line art: JPG creates halos around letters; use PNG or WebP.
  • Images that will be edited again: repeated lossy saves degrade quality each time.

Features

  • Quality slider (10–100) with live output KB
  • Optional max-width resizing in the same pass
  • PNG auto-converts to efficient output
  • Before/after byte sizes shown honestly

Privacy

This tool runs entirely in your browser. Your files and text stay on your device — nothing is uploaded, and nothing is sent to analytics. Privacy policy

How this tool is tested

This page is the real tool, not a screenshot: it runs locally in your browser and is verified in current Chrome, Edge, Firefox, and Safari before each release. Your input stays on your device for supported tasks.

By Mccowns.com team · Reviewed

Frequently asked questions

How much smaller will my image get?

Photos at quality 80 typically shrink 60–80% versus camera originals. The tool shows exact bytes — never estimates.

What quality should I use?

80–85 for photos on the web; 90+ for graphics with text. Lower than 70 often shows artifacts.

Is the output still JPG?

JPG and WebP inputs keep an efficient encode; PNG input is re-encoded for size. Transparency is flattened on white.

Are my photos uploaded?

No. Compression uses the Canvas API locally in your browser.

Related image tools

Helpful guides