Image Compressor
Reduce image size before publishing photos on a website, CMS, or email without opening a third-party application or paying for a subscription-based photo editor, saving you time and money.
Drop files or a folder here
or click to browse · paste from clipboard
Accepts .JPG, .JPEG, .PNG, .WEBP, .AVIF, .GIF, .SVG · Up to 1,000 files
Batch compress JPG, PNG, WebP, AVIF, GIF, and SVG image files with a live before/after slider that shows real-time comparisons of file-size savings and quality differences. Multiple image compression options, including quality, auto-orientation, and even an exact-size target per batch.
How it works
Drop your files
Drag and drop, click to browse, or paste from clipboard. Up to 1,000 files at once.
Choose settings
Adjust quality, format, and other options to match your needs.
Click Compress
Everything runs in your browser via WebAssembly. Image Compressor happens locally — no server involved.
Download
Download files individually or grab all at once as a ZIP.
How to Compress an Image
Compressing an image shrinks its size so it loads faster and uses less storage, helping the webpage rank higher. The challenge is shrinking the image without degrading its quality. One difference between ConvertYard and most online image compressors is that it works locally. There’s no free-tier limitation because I don’t have to pay for storage. Select or drop the file you want to compress, choose a quality or target size, and download the ZIP file.
I’ve added other advanced options such as optional batch resizing, which reduces a step in your workflow, especially for a large batch of images that you want to upload to a CMS like WordPress.
So here’s the suggested workflow if you’re using ConvertYard:
- Select/drop a batch of images. It supports JPG, PNG, WebP, AVIF, GIF, and SVG.
- Choose a quality setting. The default is 80, which is the sweet spot for most photographs. Another option is setting a max file size if you need to meet a specific limit. For example, 100 KB for a job application or 2 MB for a CMS upload.
- You can resize the whole batch under the ‘Resize on compress’ section, which is split into two options: a preset option or a custom width if you have a specific requirement not available in the presets.
- Click ‘Compress’ to start the process of shrinking the files. Users will see a before-and-after split screen of the photos, which they can move to check the % file size saved and the compressed output.
- Once you’re satisfied with the image, download the files individually or as a single ZIP file.
If you want the maximum image compression and have an older format like a JPG, use the file converter tool like JPG to WebP, PNG to WebP, BMP to WebP, or JPG to AVIF to compress files by over 90% without compromising image quality.
Still not convinced? Check out this real-world test image compression.
Common target sizes
- 10 KBHit the exact 10 KB target — typical for signature uploads on government and exam portals.
- 20 KBThe SSC signature upper limit and minimum for many UPSC document images.
- 50 KBStandard passport-photo size for SSC CGL, IBPS, RRB, and state PSC exam uploads.
- 100 KBThe UPSC, NEET, and JEE photo upload limit — more detail, square format.
- 200 KBUpper photo limit for UPSC and many state-level exams. Also suits scanned single-page documents.
- 300 KBUPSC document photo upper limit and a comfortable size for scanned A4 documents.
- 500 KBVisa photos, college admission documents, and banking application photos where quality matters.
- 1 MBThe practical limit for LinkedIn profile photos, social media uploads, and design portfolios.
- 2 MBProduct photography, e-commerce listings, and high-resolution web display.
- 5 MBPrint-quality web uploads and the most permissive cap on most form-upload portals.
Frequently asked questions
By default, it does not reduce image dimensions. This tool reduces the image size by re-encoding it at a lower quality. But I’ve added a feature that lets users resize the whole batch using a preset (limit longest side) or enter a custom width (height adjusts automatically), which streamlines the workflow since you don’t have to open a separate tool for this task.
For most web use cases, the acceptable range is between 75% and 85% before there’s noticeable degradation in image clarity. At 80%, there’s hardly any difference from the original image. If you’re trying to compress a file directly from a DSLR camera, you could resize it to get more savings. For certain lossless formats like PNG or WebP, you could compress it between 85 and 95% without much quality degradation, but always check the output first.
One reason is that PNG is a lossless format, meaning pixels can’t be altered during compression, so the output stays unchanged. I’ve tried lowering the quality to as low as 20%, and the image still doesn’t change much. Another downside of just compressing a PNG file is that there’s a cap on how many bytes you can shave off. The range (based on my tests) for savings is between 25% and 50%. Now, if you want a larger reduction, consider converting that PNG file into another, more web-friendly format like WebP or AVIF, which can lower the file size by over 90% (over 100% if you reduced the dimensions).
If a maximum file size for file generation is specified, the tool first reduces the image quality in steps of 10% (e.g., from the quality specified by the user down to 20%). If the generated file is within the size limit, it stops there. Otherwise, it continues reducing quality in steps of 10% down to 20%, and then continues reducing the image dimensions in steps of 10% down to 50% of the original size, and returns the smallest generated file even if the specified size cannot be reached exactly.
Subsampling color information is another method to reduce image size. The large majority of online images are cached as 4:2:0 JPEGs. To the eyes of 99% of online viewers, the difference is invisible. For images with overlaid text or logos and sharp color transitions, 4:4:4 chroma subsampling makes a huge difference and saves an additional 15–25% in file size.
The reason is two-fold. First, it reduces file size because the data stored in the EXIF file adds to it. The second reason is security. Photos taken with smartphones like the iPhone contain GPS location data, so if these photos are downloaded with the EXIF data intact, the individual who downloads it can run it through an EXIF reader and know where the photo was taken, the phone model, and other details that you may not want to be there online. One reason to keep the ‘metadata’ is if you want to keep the optimized photos locally in a personal archive.
Pushing the quality slider lower or setting a small max file size makes the encoder throw away a lot of pixel data to hit the target. This shows up in two ways: smudged artifacts on the edges and text, and a loss of detail (meaning it looks blurred), making the image look soft.
Nope. The image compression process is done in the browser. So I can’t see them, store them, or access them in any way. Your files never leave your device — ConvertYard only delivers the tool’s code to your browser.