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 MiB per file · 30 files · 150 MiB total
You can also paste copied JPG or WebP images into this page.
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. Focus an image and use arrow keys to pan (Shift for larger steps).
Compression results
ZIP downloads are limited to 100 MiB. Download larger files individually.
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 MiB each and 150 MiB in total).
- You can also paste copied JPG or WebP images into the page. PNG paste is not supported, and pasting text into editable controls is not intercepted.
- Choose a quality and inspect the before-and-after preview.
- Review completed-file savings and progress. Retry failed images individually. Adding images does not recompress finished results.
- Download files individually or in a ZIP (100 MiB maximum). Remove unwanted images 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. Focus a preview image and use arrow keys to pan, Shift for larger steps, or Escape to reset. Select an item in the results to compare another image, and its filename is shown above the preview.
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. The total savings include successful files only and show how many originals were kept. 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 MiB each and 150 MiB 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.
Does adding more images recompress the earlier ones?
No. Only newly added images are compressed. Changing the quality recompresses all images.
What is the ZIP download size limit?
ZIP is available when the combined successful outputs are 100 MiB or less. If larger, download each image separately.
Can I retry an image that failed to compress?
Yes. Use Retry next to the failed image to reprocess only that file. Damaged or unsupported files may still fail.
Can I paste a copied image instead of selecting a file?
Yes, when your browser provides it as a JPG or WebP file. PNG and text-only clipboard content are not accepted.
Does compression remove EXIF or GPS metadata?
Not reliably. If the original file is kept because re-encoding does not reduce its size, its metadata also remains. Use the dedicated metadata-removal tool when needed.
Are there pixel dimension limits?
Yes. Each file is limited to 30 MiB, up to 30 files and 150 MiB total, plus a maximum side of 8192 pixels and 40 million pixels per image.