The result will be this size or smaller.
JPG works everywhere. WebP is usually smaller at the same quality, but some forms reject it.
Key takeaways
- The result is at or under your target, never over it: 100 KB means at most 102,400 bytes.
- The tool lowers quality first and shrinks the pixel size only when quality alone cannot reach the target.
- Phone photos of 3 to 5 MB can usually reach 100 KB or less, but a 20 KB target forces a visible drop in dimensions.
- Photos, ID scans and signatures stay on your device, because nothing is sent to a server.
How to use the Image to target KB
- 1Drop one or more JPG, PNG or WebP images onto the upload area, or click it to choose files.
- 2Tap a preset (20, 50, 100, 200 or 500 KB) or type your own size and choose KB or MB.
- 3Choose JPG or WebP as the output. JPG is the safe choice for most upload forms.
- 4Wait a moment while each image is fitted. The new size and pixel dimensions appear next to the file name.
- 5Use Download for one file or Download all for the whole batch, then upload the result to the form.
How do I compress an image to 100 KB?
To compress an image to 100 KB, choose 100 KB as the target and add your photo. The tool tests several quality settings and keeps the highest one whose file is no bigger than 102,400 bytes. If even the lowest usable quality is still too large, it reduces the width and height a little and tries again.
This is the same job you would do by hand with a quality slider, only faster and with a guaranteed result. The same steps work for 50 KB, 20 KB, 200 KB or any custom size, such as 75 KB for a passport photo field or 1.5 MB for a document upload. If the photo is not yet cropped to the right size, make it first with the passport size photo maker.
How does the tool hit an exact file size?
JPG and WebP use lossy compression, and the file size changes smoothly with the quality setting. The tool takes advantage of that with a binary search: it encodes the image at a middle quality, checks the size, then moves up or down and repeats until it has the best quality that fits. Seven rounds are enough to land within a few percent of the target.
Quality has a floor. Below about 30 on the quality scale, JPG turns blocky and text becomes hard to read, so the tool stops there and reduces the pixel dimensions instead. Fewer pixels mean fewer bytes, and the picture stays cleaner than a heavily over-compressed full-size version. If you want to choose the dimensions yourself, use the image resizer.
Why is my image still bigger than the target?
The result should always fit, so if you see an error, the target is too small for that picture. A tiny file such as 5 KB can only hold a very small image, and the tool stops before the picture becomes unreadable. Try a larger target, or crop the photo first so there is less to store.
PNG screenshots and scans with sharp text behave differently from photos. PNG stores every pixel exactly, so the original may be several megabytes. Converting it to JPG or WebP through this tool is what makes it small, and it will usually fit well under 100 KB at the same pixel size. Detailed scenes such as foliage or crowds need more bytes than a plain wall, so the same target gives a lower quality for them.
What is the difference between KB and MB on upload forms?
On most computers and upload forms, 1 KB is 1,024 bytes and 1 MB is 1,024 KB. This tool uses that convention, which is also what Windows, most browsers and most government portals show. Strictly, the standard name for 1,024 bytes is a kibibyte (KiB), while a kilobyte is defined as 1,000 bytes, so a few systems count differently. If a form is strict, pick a target slightly below its limit, for example 95 KB for a 100 KB limit.
Forms for exams, visas and job portals often set limits between 20 KB and 500 KB for photos and signatures. Check the exact rules on the form you are filling in, because they differ by site and change over time. If the form wants a PDF, shrink the picture here first and then combine it with JPG to PDF.
Tips for getting the best quality at a small size
Crop away empty borders before you compress, because every pixel you remove is a pixel that does not need bytes. Start from the original file rather than a copy that was already compressed, since each lossy save loses a little more detail. If you only need a general smaller file with a quality slider, the image compressor gives you manual control.
WebP is usually 25 to 34% smaller than JPG at the same visual quality, so it fits a tight limit with less loss. Many older forms accept only JPG, though, so check what the destination allows before choosing it.
Worked example
A 4 MB phone photo reduced to 100 KB
Take a photo of 4032 × 3024 pixels that weighs about 4 MB. You choose the 100 KB preset, which means a limit of 102,400 bytes, and JPG as the format.
At full size, even the lowest quality the tool allows is far above 100 KB, so it shrinks the pixel dimensions in steps until a quality between 30 and 95 fits. The final picture usually ends up somewhere between 1,000 and 2,000 pixels wide, which is plenty for a form field or a profile picture on screen.
The size shown next to the file name tells you exactly where it landed, for example 97.4 KB, which is 95% of the 100 KB target. The exact numbers depend on how detailed the scene is, so treat the pixel range as a guide, not a promise.
Common upload limits in bytes
The largest file, in bytes, that each target allows when 1 KB is 1,024 bytes. The tool keeps the result at or below this number.
| Target | Maximum bytes | In MB |
|---|---|---|
| 20 KB | 20,480 | 0.020 |
| 50 KB | 51,200 | 0.049 |
| 100 KB | 102,400 | 0.098 |
| 200 KB | 204,800 | 0.195 |
| 500 KB | 512,000 | 0.488 |
| 1 MB | 1,048,576 | 1.000 |
| 2 MB | 2,097,152 | 2.000 |
Using 1,000 bytes per KB instead would make each limit about 2.4% smaller, so leave a little room if a form is strict.
Frequently asked questions
Are my images uploaded to a server?
No. The compression runs in your browser with the built-in canvas feature, and your files never leave your device. Closing the page discards them. The other image tools on this site work the same way.
Can I compress an image to exactly 100 KB?
The tool gets as close as it can while staying at or below 100 KB (102,400 bytes). It usually lands within a few percent, such as 96 to 100 KB. Reaching an exact byte count is not possible with lossy compression, and a file slightly under the limit is accepted by upload forms.
Which format should I choose, JPG or WebP?
Choose JPG when you upload to a form, an exam portal or a government site, because almost all of them accept it. Choose WebP for websites and apps, where it gives about 25 to 34% smaller files than JPG at comparable quality.
Does it keep the picture sharp at 20 KB?
A 20 KB file holds roughly 20,480 bytes, so the picture will be small, often only a few hundred pixels wide. It is fine for passport-style fields and avatars, not for printing. A larger target keeps more detail.
Can I compress an iPhone HEIC photo to KB?
Not directly, because browsers cannot read HEIC files. Convert the photo first with the HEIC to JPG converter, then add the JPG here. Both steps run in your browser.
Does this remove location data from my photo?
Yes. The image is redrawn and encoded again, which drops EXIF details such as GPS location and camera model. The photo is rotated to the correct way up first.
Sources
- MDN Web Docs: HTMLCanvasElement.toBlob() method
- MDN Web Docs: Image file type and format guide
- NIST: Prefixes for binary multiples
Last reviewed by the ToolsFiesta team.