Compress images & PDFs to an exact KB size
Hit strict upload limits for visas, job portals, marketplaces and messaging apps. FileDes compresses JPG, PNG, WebP, HEIC, AVIF, BMP and PDF files entirely inside your browser.
Drag & drop up to 20 images
or choose files from your device
Files never leave your device.
Leave the target empty to optimize at high quality, or enter an exact KB limit.
JPG is the most universally accepted format.
Need a PDF instead?Open the PDF compressor →
Advertisement
Exact KB targeting
Binary-search quality plus dimension scaling until the limit is genuinely met.
Zero server uploads
Canvas, pdf.js and pdf-lib run locally. Files never touch a server.
Batch + ZIP
Process up to 20 files, preview before/after and download everything at once.
How FileDes works
Add your files
Drag and drop up to 20 images or PDFs, or pick them from your device. Nothing is uploaded.
Set an exact target
Choose a KB limit or use a preset. The engine searches for the highest quality that still fits.
Preview & download
Compare before and after, then download individual files or every result as one ZIP.
Ready-made use cases
Pre-configured limits for the most common upload forms.
20 KB
Compress Visa Photo to 20 KB
Resize a visa photo to 20 KB for government application portals. 100% browser-based, no upload, exact 20 KB target.
50 KB
Compress Passport Photo to 50 KB
Compress a passport or ID photo to 50 KB in your browser. Exact target size, no upload, free and private.
240 KB
USCIS Photo Compressor — 240 KB
Compress photos for USCIS forms to 240 KB or less. Private browser-side compression with an exact target size.
256 KB
Discord Emoji Compressor — 256 KB
Compress custom Discord emoji images to 256 KB or less in your browser. Exact target, no upload.
200 KB
Shopify Product Image Optimizer
Optimize Shopify product images to 200 KB for faster stores. Browser-based, private and free with exact target sizing.
Image format comparison
Choose the right output format for your target platform.
| Format | Transparency | Compression | Best for |
|---|---|---|---|
| JPG / JPEG | No | Lossy | Photos, universal sharing |
| PNG | Yes | Lossless | Logos, screenshots, sharp edges |
| WebP | Yes | Lossy / lossless | Modern websites, smaller files |
| AVIF | Yes | Lossy / lossless | Next-gen web images |
| HEIC / HEIF | Yes | Lossy | iPhone photo storage |
| BMP | Limited | Uncompressed | Legacy Windows bitmaps |
Convert image formats
All conversion runs locally — no upload, no watermark.
All compression targets
Every target-size and conversion page is a real, working tool. Pick the exact limit your form requires.
Compress images to a target size
Pick the exact KB or MB limit your form, marketplace or messaging app requires.
- IMAGE → 10 KB
- IMAGE → 15 KB
- IMAGE → 20 KB
- IMAGE → 25 KB
- IMAGE → 30 KB
- IMAGE → 40 KB
- IMAGE → 50 KB
- IMAGE → 75 KB
- IMAGE → 100 KB
- IMAGE → 150 KB
- IMAGE → 200 KB
- IMAGE → 300 KB
- IMAGE → 500 KB
- IMAGE → 1024 KB
- IMAGE → 1 MB
- JPG → 10 KB
- JPG → 15 KB
- JPG → 20 KB
- JPG → 25 KB
- JPG → 30 KB
- JPG → 40 KB
- JPG → 50 KB
- JPG → 75 KB
- JPG → 100 KB
- JPG → 150 KB
- JPG → 200 KB
- JPG → 300 KB
- JPG → 500 KB
- JPG → 1024 KB
- JPG → 1 MB
- JPEG → 10 KB
- JPEG → 15 KB
- JPEG → 20 KB
- JPEG → 25 KB
- JPEG → 30 KB
- JPEG → 40 KB
- JPEG → 50 KB
- JPEG → 75 KB
- JPEG → 100 KB
- JPEG → 150 KB
- JPEG → 200 KB
- JPEG → 300 KB
- JPEG → 500 KB
- JPEG → 1024 KB
- JPEG → 1 MB
- PNG → 10 KB
- PNG → 15 KB
- PNG → 20 KB
- PNG → 25 KB
- PNG → 30 KB
- PNG → 40 KB
- PNG → 50 KB
- PNG → 75 KB
- PNG → 100 KB
- PNG → 150 KB
- PNG → 200 KB
- PNG → 300 KB
- PNG → 500 KB
- PNG → 1024 KB
- PNG → 1 MB
- WEBP → 10 KB
- WEBP → 15 KB
- WEBP → 20 KB
- WEBP → 25 KB
- WEBP → 30 KB
- WEBP → 40 KB
- WEBP → 50 KB
- WEBP → 75 KB
- WEBP → 100 KB
- WEBP → 150 KB
- WEBP → 200 KB
- WEBP → 300 KB
- WEBP → 500 KB
- WEBP → 1024 KB
- WEBP → 1 MB
Compress PDFs to a target size
Hit strict upload limits for visas, grants, invoices and application portals.
Convert image formats
HEIC, WebP, AVIF, PNG, JPG and BMP conversion that runs entirely in your browser.
Use-case presets
Ready-made limits for visa photos, USCIS, Discord emojis and Shopify stores.
Advertisement
Frequently asked questions
Are my images or PDFs uploaded to a server?
No. FileDes is 100% client-side. Your files are decoded, resized, re-encoded and zipped inside your browser tab. There is no upload endpoint, no storage bucket and no backend that could receive your data.
How does exact target-size compression work?
For images, FileDes draws the file to a Canvas and binary-searches JPEG/WebP quality (up to 8 iterations) between 0.05 and 0.95, keeping the highest quality that fits your KB target. If the target is tighter than the minimum quality allows, it progressively scales dimensions down by 15% and repeats. PNG targets use dimension scaling plus palette reduction. PDFs are re-rendered with pdf.js and rebuilt with pdf-lib while calibrating DPI and JPEG quality.
Which formats can I compress or convert?
Images: JPG/JPEG, PNG, WebP, AVIF, BMP and HEIC/HEIF. PDFs: standard PDF documents. Output formats are JPG, PNG, WebP and PDF, depending on the tool.
Can I process multiple files at once, and is it free?
Yes. You can add up to 20 files, preview before/after, download files individually, or download everything as a ZIP. FileDes is completely free and requires no account or email.
Your files never leave your device
FileDes is a static site with no backend. Compression, conversion, previews and ZIP creation all run in your browser tab.
Start compressing