Why files are bigger than the limit
If you want to compress an image to 100KB, it helps to know what makes a file big. A photo straight from a phone is often several megabytes. That is because it holds millions of pixels, and each pixel needs data.
Three things set the final file size: the dimensions in pixels, the file format, and the quality setting. You can change all three with free tools that run in your browser, so your photo is not uploaded anywhere.
The best order to work in
The same steps get you to 100 KB, 200 KB or any other limit. Start with the change that costs the least quality.
- Reduce the dimensions. A photo of 4000 pixels wide is far larger than a form needs. Dropping to 1200 or 1600 pixels wide often cuts the file by more than half, with no visible loss on screen.
- Choose a suitable format. JPG or WebP give much smaller files than PNG for photographs.
- Lower the quality. Reduce it a little at a time until the file is just under the limit.
- Check the result at full size, and stop as soon as it looks fine.
Step 1: reduce the dimensions
Open the Image Resizer, add your photo and set a smaller width or height. Keep the aspect ratio locked so the picture does not stretch.
How small can you go? Think about where the image will be shown. A small profile picture or an ID photo does not need more than a few hundred pixels. A document scan needs enough pixels to stay readable. If the form states required dimensions, use those exactly.
Step 2: lower the quality
Open the Image Compressor, add the resized photo and use the quality setting. Lower values make smaller files. You see the result next to the original before you download, so you can find the lowest setting that still looks good.
For most photos, a middle-to-high quality setting is a sensible start. Going far below that tends to produce blocky patches and blurry edges, especially around text and thin lines. If you are still over the limit, go back and reduce the dimensions a bit more instead of pushing quality very low.
Step 3: pick the right format
Format matters a lot for file size, and the right choice depends on the picture.
| Format | Good for | Size at the same look |
|---|---|---|
| JPG | Photographs of people, products and places | Small |
| WebP | Photographs, if the site accepts it | Smallest |
| PNG | Logos, text, screenshots, transparency | Large for photos |
If a photo is saved as PNG, converting it to JPG with the Image Converter is often the biggest single saving. First check which file types the form accepts. Many upload forms only take JPG, and some also take PNG or PDF.
A screenshot or a scanned document with sharp text can look worse as a JPG. In that case, reduce the dimensions first and test whether a PNG already fits.
The one-step option
If you do not want to use two tools, the Image Optimizer has an optional maximum file size field. Enter 100 and choose KB, and the tool lowers the quality, then the pixel size, until the file fits.
This works for JPG and WebP. PNG is saved without loss, so quality cannot be lowered to meet a limit. For a size limit, choose JPG or WebP as the output. The preview shows what the final file looks like before you download it.
KB, kB and 1024: aim a little under
PixelHone counts file sizes in decimal units, where 1 KB is 1000 bytes. Some websites, and some operating systems, count 1 KB as 1024 bytes. A file of 100,000 bytes is exactly 100 KB in the first system and about 97.7 KB in the second.
That gap is small but it can matter when a form rejects a file that is a few bytes over. The simple fix is to aim a little under the limit. For a 100 KB limit, a result of 90 to 95 KB is safe in both systems.
Typical cases
- Passport or ID photo, 100 KB: resize to the required pixel size first, then compress as JPG.
- Job application or exam form, 200 KB: a JPG around 1200 pixels on the long side is often enough.
- Signature image: keep it small in pixels and use JPG or PNG as the form allows.
- Product photo for a shop: do not squeeze it to 100 KB unless you must. Use the quality that still looks sharp on a phone.
Before you upload
- Open the compressed file at full size and look at faces, text and edges.
- Confirm the file type, size and dimensions match what the form asks for.
- Keep your original. If the form rejects the file, go back to the original and try again.
Summary
- File size depends on dimensions, format and quality.
- Reduce dimensions first, then quality, and use JPG or WebP for photos.
- The Image Optimizer can target a maximum file size in one step.
- Aim a little under the limit, because some sites count 1 KB as 1024 bytes.
Try it on your own photos
These free tools run in your browser. Your images are never uploaded.