Compress Image
Shrink a JPG or PNG's file size while keeping it looking good. Great for email attachments, websites, and forms with upload limits.
- Select a JPG or PNG image from your device.
- Pick the size limit you have to meet — 20 KB up to 2 MB, or type an exact figure in KB.
- Click Compress Image. The result downloads automatically and the before and after sizes are shown.
Hitting a specific size limit
Most people arrive here because a form has rejected their photo. Government portals, job applications and exam registrations routinely cap uploads at 100 KB, 200 KB or 500 KB, while a photo straight off a modern phone is 4 MB or more — twenty to forty times too big.
So the limits people are actually given are the options: 20 KB, 50 KB, 100 KB, 200 KB, 500 KB, 1 MB, 2 MB, or an exact figure you type in. The tool works backwards from that number rather than merely making the file “smaller”, and when stronger compression alone is not enough it reduces the pixel dimensions too — which is the only thing that gets a phone photo under 20 KB at all.
If even that cannot reach your target, it says so and hands you the smallest version it managed rather than pretending. At that point the honest fix is fewer pixels: crop to the part that matters, or resize first and compress the smaller image.
How much can you compress before it shows?
Further than most people expect. A phone photo at 4 MB compressed to 500 KB — an 87% reduction — is usually indistinguishable at normal viewing size, because most of the original file is detail your eye discards anyway. Below roughly 150 KB for a full-size photo you begin to see the classic signs: soft blocky patches in areas of flat colour like skin and sky, and halos around sharp edges such as text.
Two kinds of image suffer earliest. Screenshots and images containing text degrade quickly and visibly, because JPEG compression is built for photographic gradients rather than hard edges — keep these as PNG if you can, or compress them gently. Images with large flat areas show banding sooner than busy, detailed photos, which hide compression artefacts well.
What the tool does to your image
Two things, in that order. It re-encodes the image at a lower JPEG quality, and if that alone will not reach your target it also reduces the pixel dimensions, stepping down from 2560 pixels on the longest edge until the file fits — because below roughly 50 KB no amount of quality reduction will get a full-resolution phone photo there. Compression is lossy and cannot be undone, so the tool writes a new file, named after the original with the target appended, and never touches your original.
Nothing is uploaded
The compression runs in your browser. This matters more than it sounds for exactly the images people compress most: passport photographs, signatures, ID scans and certificates submitted to application portals. Those files never leave your device here, so there is no server-side copy of your identity document sitting in someone's temporary folder.
Frequently asked questions
How do I compress an image to 100 KB?
Will compressing ruin the quality?
Are my images uploaded to a server?
Why can't it reach the very small size I asked for?
Does it work on PNG files too?
Can I undo the compression later?
photo-100kb.jpg, and never touches your original — keep it.