File Compressor
Reduce the size of JPG, PNG, WEBP images and PDF documents with real client-side compression. See the exact size saved and download instantly — nothing is uploaded.
Drag & drop files here
or click to browse — JPG, PNG, WEBP and PDF are compressed in your browser
How it works
Add one or more files, choose your image quality or PDF compression level, then compress. Images are re-encoded and PDFs are rebuilt in your browser, and you'll see the exact size before and after so you know the real savings.
Which files can be compressed?
Images (JPG, JPEG, PNG and WEBP) and PDF documents can be genuinely compressed in the browser. Other file types cannot be meaningfully compressed client-side, so they are clearly flagged instead of being renamed or zipped and passed off as "compressed".
Step by step
- Drag files onto the drop area, or click it to choose one or more images and PDFs. You can mix both types in one batch.
- Set the image quality between 10% and 95%. It starts at 70% and applies to every image in the batch.
- Choose a PDF compression level: Light, Balanced (the default) or Strong. It applies to every PDF in the batch.
- Click Compress. Files are processed one after another, and each row shows the original size, the new size and the percentage saved.
- Download files one at a time, or use Download all. Remove a single file with its remove button, or clear the list to start again.
What happens to images
Each image is redrawn at its original width and height and re-encoded at the quality you choose. The pixel dimensions never change, so all of the saving comes from the encoding itself.
JPG and PNG files are saved as JPG, because PNG is a lossless format that cannot be shrunk with a quality setting. WEBP files stay WEBP. Converting a PNG to JPG fills any transparent areas with white and changes the file extension to .jpg. Re-encoding also drops embedded metadata such as EXIF camera details.
What happens to PDFs
Every page is rendered as an image and placed into a new PDF with the same page size. Light renders pages at 1.5× with high JPEG quality, Balanced at 1.15× with medium quality, and Strong at 0.9× with lower quality.
Because the pages become images, text in the compressed PDF can no longer be selected, searched or copied, and links, bookmarks and fillable form fields are not carried over. This method works best for scanned documents and image-heavy PDFs. A small, text-only PDF may come out larger, in which case the original is kept.
Choosing the right settings
- For photos you share online or by email, 60–75% usually looks the same as the original at a fraction of the size.
- Go below 50% only for previews or thumbnails; blocky edges and banding start to appear around text and gradients.
- Use 85–95% for images that will be printed or edited further.
- For PDFs, start with Balanced. Use Light when small print must stay sharp, and Strong for upload portals with tight size limits.
- If a result is still too large, remove it, add the original again and compress with a lower setting.
Limitations
- Only JPG, JPEG, PNG, WEBP and PDF files are compressed. Other types, such as GIF, HEIC, Word documents or ZIP archives, are flagged as not compressible, and empty files are flagged too.
- Password-protected PDFs cannot be opened for compression, so unlock them first.
- Everything runs on your device, so very large images and long PDFs depend on your memory and can take a while.
- Download all saves each file separately rather than as a single ZIP.