Compress image to an exact size
Shrink a photo to the size your form allows, without leaving your device.
Compress your photos
How to use
- Pick the size your form allows: 20, 50, 100 or 200 KB, or choose Custom and type your own number.
- Choose your photos or drop them into the box. You can add several at once, and you can paste an image you have copied.
- Wait a moment while each photo is compressed. The real size in KB and the final width and height in pixels appear on its card. Drag the slider to compare the original with the result.
- Press Download for one photo, or Download all (ZIP) for several.
How this tool gets a photo under an exact size
A form that says "maximum 50 KB" will reject a file of 50.1 KB, so "about 50 KB" is not good enough. This tool treats your size as a ceiling it must not cross. Every result is measured, and a photo is only called under your limit when the real file you download is.
It works in two steps. First it lowers the JPG quality and keeps the highest quality that still fits. Quality never goes below a medium floor, because very low settings turn faces blocky. If the photo is still too big at that floor, the tool makes it smaller in pixels, a little at a time, and searches for the best quality again at the new size. The final width and height are shown beside the file size, so you can check them against what your form asks for.
Which size should you choose?
Use the number printed near the upload button on your form. If the form gives a range, aim for the top of it, because a larger limit keeps more detail. If you are free to choose, 100 KB or 200 KB keeps a photo clear on a screen, while 20 KB and 50 KB suit small profile pictures and signatures. Each of those sizes has its own page with advice for that limit, and Custom accepts any whole number from 5 to 2000 KB.
What happens to your photo
The result is always a JPG, the format nearly every upload form accepts. PNG and WebP photos are converted. Transparent areas become white, because JPG cannot store transparency. The photo is turned the right way up using the rotation your phone recorded, so it never comes out sideways.
Details hidden inside a photo file, such as the GPS location and camera model, are removed from the result. A JPG that is already under your limit and has no such details is handed back untouched, since compressing it again could only make it worse.
One habit helps a lot: always compress from the original photo. Every time a JPG is saved again it loses a little detail, so a copy that went through a chat app and was then compressed again looks worse than one compressed once.
Many photos at once, and when a size cannot be met
You can add up to 30 photos of up to 20 MB each. On phones that report 2 GB of memory or less the limits are 15 photos of 10 MB. Photos are processed one after another, and Download all (ZIP) packs every photo that is under your limit into one file.
Sometimes a size cannot be reached. The tool never shrinks a photo below 120 pixels on its longest side, because past that it stops being useful. If your limit is that tight, the card says the result is over the limit, shows the closest size it reached, and suggests the next size up. It never claims a target it did not meet.
Private by design
Photos of IDs, signatures and family are personal. Compression happens on your own device, using your browser, and the page sends no photo and no file name anywhere. Once the page has loaded it keeps working without a connection.
Frequently asked questions
Are my photos uploaded to a server?
No. Your photos are opened and compressed inside your browser, on your own device. Nothing is sent to us or anyone else, and after the page has loaded it works without an internet connection.
Why is my result a little under the size I chose and not exactly on it?
The tool must stay at or under your limit, and a JPG cannot be stretched to an exact byte count. It finds the highest quality that fits, so the result lands close to your limit, such as 49 KB for a 50 KB target, but never above it.
Does 1 KB mean 1000 or 1024 bytes?
Here 1 KB is 1024 bytes. Some forms count 1 KB as 1000 bytes, so a file they call 50 KB may need to be a little smaller than ours. If a form rejects a file that this tool says is under the limit, choose Custom and enter a slightly smaller number. The exact byte count shows when you hover over the size under After.
Why did my PNG come out as a JPG?
Most upload forms accept JPG, and a JPG is far smaller than a PNG for a photograph. PNG and WebP photos are converted, and any transparent area becomes white. If you need a PNG with transparency kept, this tool is not the right one.
Will the compressed photo still show my location and camera details?
No. The photo is redrawn and saved fresh, so details such as GPS location, camera model and date taken are not in the result. The one exception is a clean JPG that was already under your limit, which is returned as it is because it has none of those details.
Why are the pixel dimensions smaller than my original?
A phone photo has millions of pixels, and a 50 KB file cannot hold them all at good quality. When lowering the quality is not enough, the tool also reduces the pixel size. The final width and height are shown on the result, so you can check them against any pixel size your form states.
How many photos can I compress at once?
Up to 30 photos of 20 MB each, or 15 photos of 10 MB each on a phone with little memory. They are processed one at a time, and you can download them together as a ZIP.
Can I compress HEIC photos from an iPhone?
Not yet. This tool reads JPG, PNG and WebP. On an iPhone, Settings, Camera, Formats, Most Compatible makes new photos save as JPG. Older HEIC photos need to be converted to JPG first.
Other sizes
- Compress image to 20 KBGet a photo or signature under 20 KB for the smallest upload limits.
- Compress image to 50 KBGet a JPG under 50 KB for application forms and ID uploads.
- Compress image to 100 KBReduce a photo to under 100 KB and keep it clear.
- Compress image to 200 KBShrink a detailed photo to under 200 KB without losing much quality.
Related tools
Last updated: