AZTools.us

Batch WebP & AVIF Image Optimizer

Before / after split + per-file sizes Fast batch compression

Adjustments

Load a file to unlock this tool’s controls:

Before / after split + per-file sizes

Runs directly on the web inside your browser. Your original file is never modified or uploaded.

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

  1. Drop .png, .jpg, .jpeg, .webp or .avif images onto the workspace. Use “+ Add files” to add more to the list.
  2. 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).
  3. 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.
  4. 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.
  5. Select a file and drag the divider to compare the original (left) with the result (right). Turn on “Zoom 100%” to check fine detail.
  6. 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.

Per-file results
CaseWhat you get
Smaller after re-encodingThe new file, marked with format and quality, plus the new size if it was scaled down
Bigger, same format, not resizedThe 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 resizedThe new file, marked “bigger than the original”
File cannot be readMarked 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.