How to compress an image to a size in KB
- Click the yellow area and pick your photo, or drag the file onto the page. You can pick several at once.
- Type the maximum size the website asks for (for example, 100) or click one of the common sizes.
- Wait a moment and click Download. The file name includes the size, like
photo-100kb.jpg.
If you change the size or format afterwards, the images are redone automatically.
What it’s for
Many online forms reject photos above a size limit: job applications, university and exam registrations, visa and passport portals, school enrollment, government websites. A phone photo is usually 2 to 5 MB, which is 20 to 50 times a typical 100 KB limit.
This tool gives you a file just under the limit, so the photo keeps the best quality the limit allows instead of being squeezed more than needed.
How it works
The tool tries several compression levels and keeps the highest quality that fits your size. It only shrinks the width and height when compression alone isn’t enough, which usually happens with very small limits (20 KB or 30 KB) and large photos. When that happens, you’ll see a note with the original dimensions.
If you must keep the exact dimensions, untick Shrink width and height. If the website also has a maximum width, type it in pixels.
Everything happens in your browser. Your photo is never uploaded to a server, which matters when you are handling ID documents and personal photos.
Tips for a better result
- Crop first. A passport-style photo of just your face needs far fewer KB than the full picture with the background.
- Choose JPG if the form doesn’t say otherwise. It’s accepted almost everywhere.
- WEBP gives the same quality in a smaller file, but only use it if the website accepts it.
- Transparent images (like PNG logos) get a white background when converted to JPG.
- Location data (GPS) and other hidden photo details are removed during compression.
Frequently asked questions
Why is my file 98 KB and not exactly 100 KB?
The tool looks for the largest file that doesn’t go over the limit. Each quality step changes the size by a few KB, so the result lands slightly below. That’s what the form checks.
My computer shows a slightly different size. Is it wrong?
No. Here 1 KB means 1,000 bytes. Windows counts 1 KB as 1,024 bytes, so it shows a slightly smaller number. Either way, the file is within the limit.
Does it work on my phone?
Yes, on Android and iPhone, in the browser. iPhone HEIC photos open in Safari; in other browsers, convert them to JPG first.
Will the quality be bad?
It depends on the limit. At 100 KB or more, a portrait photo looks great. At 20 KB the tool has to shrink the dimensions, but a face stays sharp at ID-photo size.
Is there a limit on how many images or how big?
There’s no usage limit. Very large photos (over 16 megapixels) are scaled down to fit in the browser’s memory before compressing.