Compress an image to 5 KB
A 5 KB cap is about as tight as it gets. At this size you are storing a tiny graphic, not a real photo, and a phone snapshot will not survive intact. Aim the compress to size tool at 5 KB and expect heavy quality loss.
Drop images here or click to upload
PNG, JPG, WebP, GIF, AVIF, HEIC — up to 50MB each
Output lands at or under your target. JPEG and WebP only.
- Files never leave your device
- Runs in your browser
- Free, no signup
What can survive at 5 KB
Realistically, 5 KB fits a small flat graphic around 80x80 to 120x120 pixels. A two-color logo, a simple icon, or a tiny monochrome stamp holds together. A detailed face will turn blocky and lose most of its sharpness.
The single biggest win comes from pixel count, so resize the image first to a small square before you compress. Once the dimensions are tiny, the compressor only has to make a gentle final cut instead of destroying the picture.

Where a 5 KB limit appears
You meet this cap with favicons, tiny inline icons, and a few unusually strict signature or stamp fields. These boxes assume a small flat asset, not a photograph.
Drop the color count where you can. A flat graphic saved with few colors fits 5 KB far better than a full-color photo, because there is simply less information to store.