Image Compressor (JPEG / PNG / WebP) — Reduce File Size in Your Browser
StayPDF's image compressor reduces JPEG, PNG, and WebP image file sizes — all locally in your browser. Useful for shrinking attachments to fit email size limits, optimizing images before posting on social media, or preparing assets for a blog or website. Batch processing is supported.
All processing happens in your browser — images are never uploaded to a server. Work documents and personal photos can be compressed without privacy risk. WebP output gives the best modern compression ratio.
What this tool does
- Compress JPEG, PNG, and WebP images (batch supported)
- Convert formats (keep original, JPEG, WebP, or PNG)
- Quality slider to control compression rate
- Optional resize by max long-side
- Shows original size, compressed size, and reduction percentage
- Fully local — no data leaves your browser
How to compress images
- Select images: Drag and drop JPEG, PNG, or WebP images, or pick them with the file selector. Multiple files at once is fine.
- Adjust settings: Pick output format (keep / JPEG / WebP / PNG), quality, and optional max long-side resize. WebP is excellent for compression ratio.
- Compress and download: Click "Compress and Download". Compressed sizes and reduction percentages are shown after processing.
FAQ
Which format compresses best?
WebP usually gives the smallest files. Use JPEG for photos and PNG for diagrams or screenshots that need lossless compression.
Should I resize or lower quality?
For social media or email attachments, "max long-side 1280px or 1920px" gives the biggest savings. Use the quality slider for fine-tuning when image fidelity matters.
Why does the quality slider not affect PNG?
PNG is lossless and has no quality parameter. To shrink a PNG, switch the format to JPEG or WebP, or apply a resize.
Are my images uploaded to a server?
No. All processing happens in your browser.
Related tools
- HEIC to JPG/PNG Converter — Convert iPhone photos
- Compress PDF — Reduce PDF file size
- Image to PDF — Combine images into a PDF