JPG / WebP Compressor
Reduce JPG and WebP file sizes while preserving visual quality.
Your files are not uploaded to a server. All processing is performed locally in your browser.
Drop images here
or
JPG, JPEG, WebP (still images) · 30 MB per file · 30 files · 150 MB total
Files are compressed automatically using the current quality.
Before and after comparison
Add an image to see the comparison preview.
After zooming, drag either image to move both views together.
Compression results
Compressed images will appear here.
About image compression
This tool attempts to reduce JPG and WebP file size by re-encoding at the original resolution. If the result is not smaller, the original is kept. It does not resize or change image formats.
When this tool is useful
Reduce the file size of photos for websites or email attachments without changing their pixel dimensions. For smaller width and height as well, use the Image Resizer.
How to use
- Add still JPG or WebP images (up to 30 files, 30 MB each and 150 MB in total).
- Choose a quality and inspect the before-and-after preview.
- Download results individually or as a ZIP. Remove unwanted images from the list or clear all.
Quality settings
The numbers are encoder quality settings, not percentages of the original image quality.
Maximum Quality 95
Prioritizes a look close to the source.
High Quality 85
The recommended default, balancing appearance and file size.
Standard 75
Uses stronger compression when you want a smaller file.
Smaller 65
Prioritizes size reduction; differences may be visible in some images.
Side-by-side comparison
The original and compressed versions use matching display areas and aspect ratios. Zoom in and drag either image to move both views to the same position, making fine compression differences easier to inspect. Select an item in the results to compare a different image.
About file size
Results vary by image. If re-encoding does not make an image smaller, the original is kept and labeled accordingly rather than saving a larger file. In that case, original EXIF and other metadata remain. Use the separate metadata-removal tool when you need to remove such information.
Your images are not uploaded
Images are decoded and compressed in your browser. tools.yayao.site does not receive or store your image files.
FAQ
Can I compress multiple images at once?
Yes. The selected quality applies to up to 30 still images, 30 MB each and 150 MB in total.
Which formats are supported?
Still JPG, JPEG, and WebP images. Animated WebP is not supported.
Can I compress PNG images?
No. PNG is not supported by this tool.
Do image dimensions change?
No. The original width and height are preserved.
Can I choose the quality?
Yes. Choose 95, 85, 75, or 65.
Which quality is recommended?
High Quality 85 is the recommended default.
Can the compressed file be larger?
No. If re-encoding would result in a larger or equal-sized file, the original image is kept.
Can I compare it with the original?
Yes. Use the side-by-side preview and select any result to compare it.
Are images uploaded?
No. Processing takes place in your browser.
Does the file format change?
No. JPG remains JPG or JPEG, and WebP remains WebP.