Lighterpix
Runs entirely in your browser

In-browser image optimizer

Make every image lighter, keep every detail.

Drop a file and compare JPEG, WebP, AVIF, JPEG XL and PNG side by side. Everything runs on your device, so your images never touch a server.

Drop a file anywhere on this page, or paste with Ctrl+V.

Nothing is uploaded. Nothing leaves this tab.

No image to hand?

Start with a sample and watch the file size fall.

How it works

Three steps, and none of them involve a server.

  1. Drop an image

    Pick a file, drag it anywhere onto the page, or paste it from the clipboard. Nothing is sent anywhere — the file is read straight from your disk into the tab.

  2. Compare the encoders

    JPEG, WebP, AVIF, JPEG XL and PNG run side by side on the same picture, so you can weigh size against quality instead of guessing.

  3. Save the smallest one

    Adjust quality, resize, or reduce the palette if you want to push further, then download the result. The original file is never modified.

What compression actually buys you

One photo, four encoders, measured in this app — not quoted from a blog post.

aurora.jpg607 KB original
  • AVIFquality 5543.7 KB−93%
  • MozJPEGquality 82147 KB−76%
  • JPEG XLquality 80157 KB−74%
  • WebPquality 80218 KB−64%

PNG · 1.85 MB — lossless — 3× larger than the JPEG it started from.

Quality scales are not comparable across encoders: 80 means a different trade-off in every one of them, which is why they are on screen together. Measured 2026-11-05 on a 2019 MacBook Pro.

Supported formats

Five encoders, one picture, a live size for each.

FormatBest forTypical savingWorks in
JPEGPhotographs, when everything must open40–70%Every browser
WebPPhotos and screenshots, safe default50–80% vs JPEGAll modern browsers
AVIFPhotos at low bitrates, smallest files20–50% vs WebPChrome, Firefox, Safari 16+
JPEG XLArchival copies that can re-encode losslessly20–40% vs JPEGNewer Chrome, Firefox and Safari builds
PNGScreenshots, flat colour, transparency5–60%Every browser

Savings depend on the picture. Compare the two panes before you save — that is the whole point of the side-by-side view.

An image shrinking into a smaller one

Small

Smaller files load faster. Lighterpix strips away bytes you cannot see and keeps the detail you can.

A settings panel with a quality slider and preview tiles

Simple

Open, compare, save. Then dig into the encoder settings whenever you want to squeeze out more.

A shield with a padlock

Private

No uploads, no accounts, no round-trips. Compression is done by WebAssembly running inside this tab.

Questions

The things people ask before the first drop.

Are my images uploaded to a server?

No. Decoding, processing and encoding all happen inside your browser tab using WebAssembly. There is no upload endpoint, no queue and no copy of your file anywhere else. You can watch the network panel and see for yourself.

Is it really free?

Yes — no account, no watermark, no export limit and no paid tier. Because compression runs on your machine there is no server bill to pass on.

Which format should I pick?

Start with WebP for photographs and screenshots; it is safe in every modern browser. Reach for AVIF when you want the smallest possible file and can accept slower encoding. Keep PNG for flat-colour graphics and anything that needs transparency. JPEG is still the format that opens on absolutely everything.

Does it work offline?

Yes. After the first visit the app and its encoders are cached, so it keeps working with the network switched off — useful on a plane, or when you would rather not be online at all.

Can I compress several images at once?

The comparison view works on one image at a time, which keeps both previews fast. Because nothing is uploaded, batching is just a matter of dropping the next file.

How far can I shrink a file?

A lot, usually — 70% or more is common for a phone photo saved as JPEG at quality 85. It depends on the content: photographs compress well, sharp text in a screenshot less so. Lower the quality slider and watch the live preview until artefacts show up, then stop.

Does resizing lose quality?

Downscaling always throws pixels away, but doing it before encoding usually produces a smaller and sharper file than letting the browser scale a larger image at display time. Upscaling cannot add detail — it only makes files bigger.

Which browsers are supported?

Any current Chrome, Edge, Firefox or Safari. Multi-threaded encoding needs cross-origin isolation, which this site enables; without it the encoders fall back to a single thread and simply take longer.