Compress Images to Exact KB — JPG, PNG, WebP
Two modes: quality slider for general compression, or compress to an exact target size (20 KB, 50 KB, 100 KB) for government form uploads. Browser-only. No watermark.
Drop JPG, PNG, or WebP images here
They never leave your browser — compression runs locally
80% is the sweet spot for most photos. Lower for faster page loads.
About this tool
WRRK's image compressor reduces JPG, PNG, and WebP file sizes by up to 80% without visible quality loss. The whole process runs in your browser using the Canvas API — your photos never get uploaded to a server, which makes it both faster (no upload wait) and private (no copies left on anyone else's machine).
Two compression modes: quality slider for general compression where you trade fidelity for file size, or compress to exact size where the tool runs a binary search across quality levels to land within 5% of your KB target. The exact-size mode is built for the most common reason people need image compression in India: government form uploads — UPSC, SSC, IBPS, NEET, JEE, PAN, passport — which have strict file-size limits like "photo must be 20-50 KB".
How to compress an image (5 steps)
- Choose mode. Pick 'Quality slider' for general compression, or 'Compress to exact size' for government forms and uploads with strict KB limits.
- Drop your images. Drag JPG, PNG, or WebP files into the drop zone, or click to browse. Multiple files are compressed in parallel.
- Set target. Either move the quality slider (80% is the sweet spot) or pick a target file size like 100 KB. Optionally cap max width and pick output format (keep, JPG, WebP, PNG).
- Compress. Click 'Compress'. The tool runs entirely in your browser — your images never leave your device.
- Download. Use 'Compare' to see a before/after slider, then download individual files or all of them as a ZIP.
When to compress
- Getting photos under 5 MB email attachment limits
- Reducing website image weight to improve Core Web Vitals
- Compressing screenshots before pasting into Notion or Slack
- Hitting government form size caps (20-200 KB common in India)
- Shrinking iPhone HEIC photos converted to JPG
- Preparing product images for Shopify, Etsy, or Amazon
- Saving WhatsApp/Instagram upload time on slow connections
Frequently asked questions
+−How do I compress an image to an exact file size like 100 KB?
Switch to 'Compress to exact size' mode, pick a preset (20, 50, 100, 200, 500 KB) or enter a custom KB value. The tool runs a binary search across quality levels to land within 5% of your target. Useful for government form uploads (PAN, UPSC, NEET) that have strict size limits.
+−How much can I compress a JPG without losing quality?
Most JPGs can be compressed by 60-80% with no visible quality loss at the default 80% quality setting. Photos with fine detail (foliage, fabric texture) compress better than flat graphics or screenshots.
+−Does compressing a PNG lose transparency?
No. PNG compression is lossless — transparency, sharp edges, and exact pixel values are preserved. You're just removing redundant data, not visual information.
+−What's the difference between compressing JPG vs PNG?
JPG uses lossy compression — great for photos, terrible for text and logos. PNG uses lossless compression — perfect for graphics with transparency, screenshots, and logos, but produces bigger files for photos.
+−Are my photos uploaded to your server?
No. Compression happens entirely in your browser using JavaScript and the Canvas API. Your images never leave your device — the tool even works offline once loaded.
+−Can I compress multiple images at once and download as ZIP?
Yes. Drop as many as you want — there's no batch limit. After compression, click 'Download ZIP' to get all of them in a single archive.
+−Should I use WebP instead of JPG?
WebP files are typically 25-35% smaller than JPGs at the same visual quality. Every modern browser supports WebP. Use it for websites; stick with JPG for files you'll email or upload to legacy systems that don't recognize WebP.
Related on WRRK Tools
Crop one photo for LinkedIn, X, IG, FB, Discord — all sizes
ToolSee what your photos are leaking — and strip it
ToolTrim a video clip to GIF — in your browser
CategoryBrowse the full image tools category
ArticleHEIC is Apple's modern image format that offers better compression and quality than JPEG. We explain how it works, its advantages, and why compatibility remains an issue.
ArticleWhatsApp compresses photos automatically, but pre-compressing gives you control over quality. Discover the fastest way to compress images before sending.
PresetEmail attachments (most providers)