Many websites, job applications, and government forms require images under a specific file size — 100KB, 200KB, or 500KB. But how do you get a 5MB photo down to 100KB without making it look terrible?
This guide shows you exactly how to compress any image to your target file size while keeping it looking sharp — for free, using ShiftPx's browser-based image compressor.
Quick Reference: Quality Settings for Target Sizes
| Original Size | Target Size | Quality Setting | Also Resize? |
|---|---|---|---|
| 5 MB photo | Under 100KB | 60-70% | Yes → max 800px width |
| 5 MB photo | Under 200KB | 70-75% | Optional → 1200px width |
| 5 MB photo | Under 500KB | 75-80% | No |
| 5 MB photo | Under 1MB | 80-85% | No |
| 2 MB photo | Under 100KB | 55-65% | Yes → max 800px width |
| 2 MB photo | Under 200KB | 65-75% | Optional |
| 10 MB photo | Under 100KB | 50-60% | Yes → max 600px width |
For very small targets (100KB), you'll get better results by resizing the image dimensions first, then compressing. A 4000×3000 photo compressed to 100KB will look worse than an 800×600 photo compressed to 100KB.
Step-by-Step: Compress to 100KB
Resize First (for targets under 200KB)
If your target is very small, go to shiftpx.in/resize-image first and reduce dimensions. Set width to 800px (or 600px for 100KB targets). This makes compression much more effective.
Open Image Compressor
Go to shiftpx.in/compress-image and upload your image (drag & drop or browse).
Choose WebP Format
Select WebP as the output format — it produces 25-35% smaller files than JPEG at the same quality. If the recipient requires JPEG, use JPEG instead.
Adjust Quality Slider
Start at 75% and adjust downward. ShiftPx shows real-time file size comparison — you can see exactly how big the compressed file will be before downloading. Stop when you hit your target size.
Download
Click "Compress Images" then download. Your compressed file is ready to upload wherever you need it.
🗜️ Compress Your Images Now
Free, instant, no sign-up. See file size before downloading.
Open Image Compressor →When Do You Need to Compress Images?
- Government forms & job applications: Many require photos under 100KB or 200KB
- Email attachments: Large images slow down emails; compress to under 1MB
- Website optimization: Smaller images = faster page loads = better SEO
- Social media: Reduce upload time and avoid platform compression artifacts
- Exam/admission forms: UPSC, SSC, bank exams often need 50-100KB photos
JPEG vs WebP vs PNG — Which Format for Compression?
| Format | Compression | Transparency | Best For |
|---|---|---|---|
| JPEG | Good (lossy) | No | Photos, universal compatibility |
| WebP | Best (25-35% smaller) | Yes | Web use, modern browsers |
| PNG | Largest files | Yes | Graphics with transparency only |
FAQ
Will compressing ruin my image quality?
At 75-85% quality, compression is virtually invisible to the human eye. Only at very aggressive settings (below 50%) will you notice degradation. ShiftPx lets you preview before downloading.
How do I compress for Indian government forms (UPSC, SSC)?
Most require photos under 100KB in JPEG format. Resize to 600×800 pixels first using Image Resizer, then compress to 65-70% quality. This usually gets a passport photo under 80KB.
Is ShiftPx better than TinyPNG?
ShiftPx offers similar compression quality with a major advantage: your images never leave your device. TinyPNG uploads to their servers. ShiftPx also gives you quality control and supports batch compression — all free.