Image Optimizer — Compress to WebP & AVIF (Free, In-Browser)
Re-encode PNG and JPG to WebP or AVIF with a quality slider and optional resize, in batches. See the size saved per file. Runs in your browser.
Image Optimizer — WebP & AVIF
Shrink JPG / PNG / WebP / AVIF to modern formats right in your browser. Nothing is uploaded.
Drop images here, or click to choose
PNG · JPG · WebP · AVIF · GIF · BMP — re-encoded locally, nothing leaves your browser
AVIF encoding needs Chrome or Edge — Safari can't encode it. We'll tell you and skip if your browser can't.
You're on 7BusyBoss — 300+ free tools that run instantly in your browser. No signup, nothing uploaded.
The right quality is the lowest one where you cannot see the difference
Lossy compression works by discarding the detail your eye is least likely to miss. How much it can discard before you notice is not a property of the format — it is a property of your picture.
Foliage, a crowd, a textured wall: all busy already, so the encoder's simplifications hide inside noise that was there anyway. A flat sky gradient, a screenshot with text, a logo on white: nothing to hide behind, so the same setting shows as banding or fuzzy edges immediately.
Which is why a blanket claim like "this format is thirty per cent smaller" is describing somebody else's image. The number that means something is the one shown next to each file after processing: the bytes actually removed from this file.
Finding your setting
- Start high — around 80 to 90 — and process one representative image.
- Look at it at the size it will really be displayed.
- Step the quality down and look again.
- Stop one step before you can see a difference, then reuse that setting for images of the same kind.
The step people skip is the second one. Judging a web image zoomed to full screen makes you keep quality nobody will ever see, and that single habit accounts for a lot of unnecessarily heavy pages.
The formats
- WebP — the default. Broad support, keeps transparency, sensible for almost everything.
- AVIF — usually the smallest at a given quality, but not every browser can encode it. The tool detects that and tells you rather than failing silently.
- JPEG — no alpha channel, so transparency is flattened onto a white background before encoding. Fine for photographs, wrong for anything with transparency.
The biggest win is not compression at all
It is serving an image far larger than it is displayed, and it is the most common reason a page is slow. The reason it goes unnoticed is that the page looks perfect — nothing visually indicates the waste.
Take a photo uploaded at 4,000 pixels wide and displayed at 800. That is a fifth of the width, and because pixel count goes with area, it is a twenty-fifth of the pixels — 96% of the data is downloaded and thrown away before a single byte of compression saving is considered. No quality setting competes with that.
Use the max-width option here to downscale during the re-encode, or work out the dimensions first with the image resizer. Resize first, compress second; doing it the other way round wastes the compression pass.
What re-encoding costs you
All metadata goes: capture date, camera and lens, and any GPS coordinates. For a web upload that is a benefit — you were probably publishing your location without meaning to. For your archive copy it is a loss, so keep the original somewhere separate.
Never re-compress a compressed file
Every lossy pass throws detail away permanently, and the losses stack. Re-encoding an already-compressed JPEG at a lower quality does not undo the first pass, it adds a second — and the artefacts of the first become detail the second one faithfully preserves.
Always go back to the original. The tool accepts WebP and AVIF as inputs, which is convenient when the original is genuinely gone, but treat it as a last resort rather than a workflow.
Everything runs in your browser through the canvas API, so no image is uploaded, and the per-file saving is reported so you can judge the trade for the picture in front of you rather than from a general rule.
How to use the Image Optimizer (WebP & AVIF)
Takes about a minute. No signup, no download, your data stays in your browser.
- 1Open the tool. Scroll up to the Image Optimizer (WebP & AVIF) above — it loads instantly in your browser, no install needed.
- 2Enter your values. The fields come pre-filled with realistic defaults so you can see how it works — replace them with your own numbers.
- 3Read the result. The output updates instantly. Copy or share it — nothing is uploaded to a server, everything stays on your device.
Frequently asked questions
Common questions about the Image Optimizer (WebP & AVIF).
Why does the same quality setting compress two images so differently?
Because the encoder discards detail you are unlikely to miss, and how much it can take depends on the picture. Foliage or a crowd hides the simplifications inside noise that was already there. A flat gradient, a screenshot with text or a logo on white has nothing to hide behind, so the same setting shows as banding or fuzzy edges.
What quality should I pick?
Start around 80 to 90, then step it down and check the result at the size it will actually be displayed, stopping one step before you can see a difference. Judging at full-screen zoom is the common mistake — it makes you keep quality nobody will ever see, and it is responsible for a lot of unnecessarily heavy pages.
Which format should I use?
WebP as the default, since it has broad support and keeps transparency. AVIF is usually smaller at a given quality but not every browser can encode it, and the tool will tell you if yours cannot. Use JPEG only for photographs, because it has no alpha channel and will flatten any transparency onto white.
My photo is 4,000 pixels wide but displays at 800. Will compressing help?
Far less than resizing will. Going from 4,000 to 800 is a fifth of the width and therefore a twenty-fifth of the pixels, so 96% of the data is being downloaded and discarded before compression is even considered. Resize first and compress second — the other order wastes the compression pass.
Does this remove EXIF and GPS data?
Yes, re-encoding discards all metadata as a side-effect. For a web upload that is usually welcome, since it removes location data you probably did not intend to publish. It is a loss if the file is your archive copy, so keep the original separately before optimising a version for the web.
Can I re-compress a WebP or JPEG that is already compressed?
You can, and you should avoid it. Each lossy pass discards detail permanently and the losses accumulate — the second pass cannot undo the first, it faithfully preserves its artefacts and adds its own. Go back to the original whenever one still exists.
Community rating
Discussion (0)
No comments yet. Start the discussion.
Keep exploring
Related tools across 7BusyBoss — all free, all instant.
More in Image Tools
- Image Resizer
- Aspect Ratio Calculator
- Background Remover
- EXIF Viewer & Remover
- Image Compressor
- SVG Optimizer