Start from the limit
Upload forms, job portals and online applications often cap a photo at a fixed size, such as 1 MB or 2 MB, and a modern phone photo is usually bigger: 2 to 5 MB as a JPEG and often more as HEIC. Guessing a quality setting and checking the result takes several tries. The tool here starts from the number instead. Choose Custom, type the limit in MB, and it finds the highest quality that lands under it.
For email, pick the Email destination instead: it allows for the encoding that email adds and aims at 18.2 MB for a 25 MB limit.
How the tool hits a size
JPEG quality does not map to a file size, because a photo of a blue sky compresses far more than one of a gravel path. So the tool searches. It saves the photo at high quality and checks the size; if that is too big, it tries the lowest sensible quality, then keeps halving the gap until it finds the best quality that still fits. That takes a few seconds in the browser.
If even the lowest sensible quality is too big, it reduces the pixel dimensions a step at a time, to 2,560, 1,920, 1,280, 1,024 and 800 pixels on the long edge, and searches again at each step. Most photos fit long before the pixels need to go.
How many pixels do you need?
For a screen, fewer than your camera takes. A photo 1,920 pixels on its long edge fills a laptop screen; 1,280 pixels is plenty for most web forms and profile pictures. Printing is different: for a sharp 15 by 10 cm print you want about 1,800 by 1,200 pixels. If a form asks for minimum dimensions as well as a maximum size, check them, because a very small size limit can force the picture below them.
JPEG, PNG, HEIC and WebP
The result is always a JPEG, since every form, mail app and phone accepts it. PNG screenshots usually shrink a lot as JPEG, but any transparent areas become white. HEIC photos from an iPhone open in Safari; some other browsers cannot decode HEIC, and then the tool says it could not read the file. In that case open the page in Safari on your iPhone or Mac, or use the itfits app.
Location and other metadata
Because the photo is redrawn and saved fresh, the new JPEG does not carry the original’s metadata, including the GPS location many phones store in every picture. The picture keeps its correct rotation. Nothing is uploaded: decoding, resizing and saving all happen in this tab.
Steps
- Choose Custom and type the limit in MB, or pick Email.
- Drop the photo in, or choose it from your files.
- The meter falls until it fits.
- The JPEG downloads, ready to upload or attach.
Questions
How do I compress a photo to under 1 MB?
Choose Custom, type 1, and drop the photo in. The tool finds the best JPEG quality under 1 MB and reduces the pixels only if it has to.
Does compressing a photo remove location data?
Yes. The new JPEG is written without the original’s metadata, including location.
Can I compress several photos at once?
Not in the browser, which takes one photo per visit. The itfits app fits a whole batch under one limit, right from the share sheet in Photos.
Will my photo look worse?
At a sensible limit, rarely in a way you can see on a screen. If the photo already fits as a JPEG, the tool says so and changes nothing.