Compress
Compress a JPEG, PNG, WebP, or AVIF image in volatile server memory using Sharp with a 10%–100% quality slider.
Last updated:
Upload an image
Drag & drop or browse
Settings
Higher quality means larger file size. For web use, 70-80% is usually the sweet spot.
Compress Overview
Shrink oversized JPEG, PNG, WebP, and AVIF images quickly while checking output byte weight directly against the original.
Upload a single image, choose a Target Quality level between 10% and 100%, and submit to Imgira's /api/compress endpoint powered by Sharp (libvips). JPEG, WebP, and AVIF apply quality-based lossy encoding, while PNG maps your setting onto Sharp's compressionLevel (0–9). Uploaded buffers stay strictly in volatile server RAM and are never saved to disk.
Server-side Sharp (libvips) compression endpoint (/api/compress).
Input & output: JPEG, PNG, WebP, AVIF (preserves uploaded format).
Compresses one image per run with a 10%–100% quality slider (use Bulk Compressor for multi-file ZIP batches); uploaded files are processed in RAM and discarded.
Compressing an Image
Drop a JPEG, PNG, WebP, or AVIF image into the upload box.
Adjust the Target Quality slider between 10% and 100% (default 80%).
Click 'Compress Now' and download the smaller file.
Image Compressor FAQ
How does the quality slider affect PNG vs. JPEG/WebP/AVIF files?
For JPEG, WebP, and AVIF, the slider (10–100%) sets encoder quality directly. For PNG, Sharp converts the percentage into lossless zlib compressionLevel (0–9), reducing byte weight without discarding pixel values.
Can I compress multiple images at once and download a ZIP?
This tool processes one image at a time so you can inspect the single preview quickly. To compress dozens of images and download a ZIP archive, open our Bulk Compressor tool.
Are uploaded images stored on Imgira servers?
No. Images travel over HTTPS to /api/compress, are re-encoded in volatile RAM with Sharp, and are discarded as soon as the response completes.
Discover More Tools
Related utilities across the Imgira catalog.