Batch WebP & AVIF Image Optimizer
Before / after split + per-file sizes Fast batch compression
How Batch WebP & AVIF Image Optimizer Works
Large photos and PNG screenshots slow down web pages. This tool re-encodes a batch of images to WebP or JPG in your browser, optionally scales them down to a maximum width, and lists the size before and after for every file. AVIF is offered only when your browser can actually encode it. Images are not uploaded.
How to compress images to WebP or JPG
- Drop .png, .jpg, .jpeg, .webp or .avif images onto the workspace. Use “+ Add files” to add more to the list.
- Choose the output format: .WEBP (the default) or .JPG, or .AVIF if your browser shows it. For JPG, “JPG background” sets the colour that fills transparent areas (white by default).
- Set “Quality”. The default is 78%; the range is 15% to 98%. Every file is re-encoded again after each change, starting with the selected one.
- Optionally pick a “Max width”: 2560, 1920, 1280 or 800 px. Wider images are scaled down with their proportions kept; narrower ones stay the same size. “Original” keeps every image at full size.
- Select a file and drag the divider to compare the original (left) with the result (right). Turn on “Zoom 100%” to check fine detail.
- Export. One image downloads on its own; two or more download as one ZIP.
Why AVIF may be missing from the list
When you add the first images, the tool asks the browser to encode a tiny test image as AVIF and checks the type of the file that actually comes back, rather than trusting the request. If it is not AVIF, the .AVIF option is taken out of the format list (if AVIF was selected, the format switches to WebP) and the controls show “AVIF is not offered: this browser cannot encode it. WebP is the closest choice.”
The same check runs on every file: if the browser returns a different format than the one you chose, that file fails with a message instead of being saved under the wrong extension. AVIF files are still accepted as input wherever the browser can open them.
What happens to each file
Re-encoded files contain no EXIF, GPS or other metadata, because only pixels are written. Images above 100 megapixels are refused.
| Case | What you get |
|---|---|
| Smaller after re-encoding | The new file, marked with format and quality, plus the new size if it was scaled down |
| Bigger, same format, not resized | The original file unchanged, metadata included, with the note “Kept the original file as is, metadata included: re-encoding made it bigger” |
| Bigger, different format or resized | The new file, marked “bigger than the original” |
| File cannot be read | Marked as failed and left out of the ZIP; “Remove failed” clears such rows |
Questions
- Which quality setting should I use?
- Start at the default 78% and compare a few images on the split view at “Zoom 100%”. Lower it while you cannot see a difference; raise it if edges, text or gradients start to look blocky.
- Why did one image get bigger?
- An image that was already compressed hard can come out bigger when it is encoded again. If the format is unchanged and the image was not resized, the tool keeps your original instead. Otherwise try a lower quality or a different format.
- Are my images uploaded?
- No. Decoding, resizing and encoding happen in your browser tab, and the results are saved straight to your device.
More in Creator & Dev
MP4 Video to Animated GIF Maker
Pick the exact part of an MP4, MOV or WebM clip on a timeline, choose the width and frame rate, and export an animated GIF (or PNG frames) in your browser.
Seamless Audio Loop Finder
Find click-free loop points for Unity, Godot, Unreal or ambient streams: search for the loop end that best matches the start, inspect the seam up close, audition the infinite loop and export a WAV with loop markers.
GIF, APNG & Animated WebP Frame Splitter
Split a GIF, APNG or animated WebP (or the first 10 s of an MP4) into frames with their real delays. Select, reorder or delete frames, edit each delay, drop identical frames, then save PNG frames in a ZIP with a delay list (JSON + CSV) or re-encode the selection as a GIF that keeps the timing. APNG and WebP frames need a browser with WebCodecs ImageDecoder, such as Chrome or Edge.