Compress Image to 5 KB
Five kilobytes is about the size of one short email, so an image that fits has to be small in pixels as well as in bytes. This page targets 5 KB, removes every byte that is not picture data, and reduces the dimensions only when quality alone cannot get there.
Compress Image
or drop JPG, JPEG, JFIF … files here ·
Max 95 MB per file· Up to 20 files· Deleted after 30 minutes
Files are processed on our servers and deleted after 30 minutes.
Never shrink below this width when downscaling. 0 means no minimum.
Optionally set the dimensions before compressing. Forms that specify pixels as well as KB need both.
Pixels for the side you chose above.
The search for the target size will not go below this quality; it downscales instead.
4:2:0 halves color resolution and saves a lot on photos; 4:4:4 keeps sharp edges on text, logos and screenshots.
Lossy PNG quantises colors (like TinyPNG) and is far smaller; lossless keeps every pixel.
How to use this tool
- 1
Upload the image
JPG, PNG, WebP, HEIC and other common formats work, up to 20 files at a time. Crop away empty borders first: every pixel you remove is a byte you keep for detail.
- 2
Keep the 5 KB target
Target size is set to 5 KB. Under Advanced settings you can set Minimum width so the image never shrinks below the pixels a form requires.
- 3
Compress and check
Press Compress and download. Open the result at 100% zoom; if faces or letters are smeared, crop tighter and run it again.
Can any image be compressed to 5 KB?
Almost any, but only as a small image. Expect about 150 × 150 px for a photo and a little more for a signature or logo. The tool lowers quality first, then shrinks the pixels until the file is at or just under 5 KB.
What a 5 KB image is good for
Very few things ask for an image this small, and they share one trait: the picture is shown tiny or read by a machine. Typical cases are signature uploads on exam forms, avatars in old forums and embedded systems, email signature logos meant to load without delay, and thumbnails stored in a database column with a fixed byte limit.
It is not a sensible size for a full photo. A 12-megapixel phone picture shrunk to 5 KB keeps roughly one pixel out of every 500, so a group shot or a document scan becomes unreadable. If a form asks for a photo and lets you go up to 20 or 50 KB, use the higher limit.
Image dimensions that fit in 5 KB
| Size | Pixels | cm | in | DPI | Fits |
|---|---|---|---|---|---|
| 64×64 | 64 × 64 | 0.81 × 0.81 | 0.32 × 0.32 | 200 | Avatar or icon; fits with quality to spare |
| 100×100 | 100 × 100 | 1.27 × 1.27 | 0.50 × 0.50 | 200 | Thumbnail photo at good quality |
| 140×60 | 140 × 60 | 1.78 × 0.76 | 0.70 × 0.30 | 200 | Signature on white; usually well under 5 KB |
| 150×150 | 150 × 150 | 1.91 × 1.91 | 0.75 × 0.75 | 200 | Typical ceiling for a face photo |
| 200×200 | 200 × 200 | 2.54 × 2.54 | 1.00 × 1.00 | 200 | Tight; quality drops or the tool downscales |
Where the bytes go in a 5 KB file
At 100 KB, overhead does not matter. At 5 KB it decides whether the picture is sharp. A JPEG always carries quantization and Huffman tables of a few hundred bytes. Phone photos add an EXIF block with camera data and often an embedded preview of about 160 × 120 px, which alone can be bigger than your whole budget. The standard sRGB color profile is 3,144 bytes, more than half of the target.
That is why this page has Strip metadata on and Keep color profile off. Removing both leaves almost the full 5 KB for the image itself. Colors from a wide-gamut iPhone photo may shift slightly without the profile, which is invisible at thumbnail size.
Units also differ. Windows counts 1 KB as 1,024 bytes; macOS Finder has used 1,000 bytes since Snow Leopard in 2009. A file of 5,100 bytes reads 4.98 KB on Windows and 5.1 KB on a Mac. If a portal is strict, aim for 4.8 KB. The guide to reducing image size in KB covers the same arithmetic for larger targets.
| Do | Don't |
|---|---|
| Crop to the face or signature before compressing | Upload a whole phone photo and expect detail |
| Use a plain, light background for signatures | Add text or borders that eat bytes |
| Check the result at 100% zoom | Save the 5 KB file again in an editor, which re-adds metadata |
Compress image to 5 KB: questions
How many pixels can a 5 KB photo have?
For a typical face photo, about 150 × 150 px at a moderate JPEG quality. A simple logo or a signature on white can be larger because flat areas compress to almost nothing, while a detailed landscape may need to drop to around 100 × 100 px.
Why does Windows say my 5 KB image takes 8 KB?
Explorer's Size on disk column reports allocated clusters, usually 4 KB each, so a 4.8 KB file can occupy 8 KB on disk. Check the plain Size value in Properties, which is what upload forms measure.
Which forms accept a signature as small as 5 KB?
National Testing Agency forms such as JEE Main and NEET UG have listed signature limits of 4 KB to 30 KB in recent cycles, so a 5 KB file is inside the range. Bank and SSC forms usually set a 10 KB minimum; use Compress signature to 20 KB for those.
Can I keep a PNG format at 5 KB?
Yes, with Output format left on the same format; lossy PNG mode reduces the palette to reach the target. It suits logos and line art. Photos look far better as JPG at this size.
The portal wants at least 10 KB. Is 5 KB too small?
Yes, a minimum is enforced as strictly as a maximum. Switch to Compress image to 10 KB, or if your file is already under the floor, raise it with increase image size in KB.