A photo straight off a phone is often several megabytes, and plenty of places won't take that: an upload form with a 1 MB limit, a visa or job portal, a listing site, an email that bounces. This page makes photos smaller in two ways, by lowering the quality a little and by reducing the pixel size, and it can aim for an exact file size for you. It's for anyone who has been told "file too large". We make Noxium, an encrypted photo vault for iPhone, and built this compressor to run entirely in your browser.
How do you make a photo smaller?
Pick a format and a quality or target size, choose the photos, and download the copies. You can do a whole batch at once.
- Pick the format. JPEG opens everywhere. WebP is smaller, but some older apps and forms don't accept it. "Keep format" leaves each photo as it was.
- Pick quality or a target size. For a form with a size limit, choose Target file size and type a number a little under the limit, in KB (1,024 bytes each).
- Resize if the photo is large. Tick Resize and set a maximum width and height. 2,000 pixels is plenty for screens and most upload forms.
- Choose your photos. Tap the box or drag files onto it. Each one shows its old size, new size and how much it saved.
- Download. Use the button next to each photo, or Download all. Copies end in "-compressed", so your originals stay as they are.
Changed your mind about a setting? Change it and press Compress again; the whole list is redone from the originals.
What do the settings do?
Quality decides how much detail the encoder may throw away; resizing decides how many pixels there are to store. Resizing usually saves the most.
| Setting | What it does | Use it when |
|---|---|---|
| JPEG | Lossy format. Quality from 10% to 100%. No transparency, so see-through areas turn white. | The photo must open anywhere: email, forms, printing. |
| WebP | Lossy here too, with transparency. Google measured lossy WebP at 25–34% smaller than JPEG at the same visual quality. | Websites and apps you know accept WebP. |
| Keep format | JPEG stays JPEG, WebP stays WebP, PNG stays PNG. PNG is lossless, so quality doesn't change it. | You only want to resize, or must keep the type. |
| Target file size | Tries up to 8 quality levels and keeps the best one that fits. | A form or inbox has a size limit. |
| Resize | Scales the photo down to fit the maximum width and height, keeping its shape. | The photo is much larger than it will ever be shown. |
Halving the width and height leaves a quarter of the pixels, and the file shrinks a lot with them. A 4,032 × 3,024 phone photo resized to 2,000 pixels wide still fills a laptop screen. The WebP figure comes from Google's WebP documentation.
How does "target file size" work?
It searches for the highest quality that still fits. The tool first tries 95%. If that's too big, it halves the range again and again (50%, then 73% or 28%, and so on), keeping the best result under your limit, for at most 8 tries per photo.
If even 5% quality doesn't fit, the list says so and gives you the smallest version it made. At that point lowering quality won't help: resize the photo, which removes far more bytes than quality ever can. Target size doesn't work on PNG, because PNG has no quality setting; choose JPEG or WebP for that.
Why can a compressed photo get bigger?
Because the original was already well compressed. A JPEG saved at 70% and re-saved at 90% grows, and a carefully optimized PNG can grow when a browser saves it again. This tool never hands you a bigger file without telling you: the row says "would be bigger than the original" and offers Keep the original, and Download all saves the original for those photos. If your photo is an iPhone HEIC file, convert it with our HEIC to JPG converter first, then compress the JPG here.
What happens to your photos?
Nothing leaves your device. The page reads each photo with your browser's file reader, draws it onto a canvas in memory, and saves it again with the browser's own image encoder. No library is loaded and there is no upload, so there's no server that could keep a copy. The page does load Google Analytics, which counts visits as our privacy policy describes; it never receives your photos, their names or their contents. You can go offline after the page loads and the tool still works.
One side effect is good for privacy: a photo redrawn on a canvas carries no metadata. The GPS location, date taken, camera model and editing software are all left out of the copy. To see what a photo holds before you send it, use our EXIF viewer; to remove metadata without re-compressing at all, use the photo metadata remover.
What doesn't the compressor do?
It trades detail for size, and it can't undo that. Keep these limits in mind.
- Lost detail stays lost. Compressing is one-way. Keep the original if you might print it or crop it later.
- No metadata in the copy. Usually what you want, but photo apps can't sort the copy by the day it was taken.
- Color profiles. The browser converts the photo to standard sRGB colors. Wide-color photos from recent iPhones can look slightly less vivid.
- Animation. Animated WebP images come out as a single still frame.
- WebP in some browsers. Not every browser can save WebP. If yours can't, the tool saves a JPEG and says so on that row.
- Very large photos on phones. Phone browsers limit how big a picture they can draw, so a photo above about 16.7 million pixels is scaled down to fit, and the row shows the new size.
Keep the full-size originals private
Noxium hides photos, videos and notes in encrypted vaults on your iPhone, with their names, dates and places encrypted too. It exports in full quality with original dates.
Download on the App Store Available on the App Store for iPhone and iPad.A vault is the opposite job from this tool: it keeps every photo at full resolution instead of shrinking it. Our guide to whether photo vaults keep full resolution explains what to check, and the import and export page shows how photos get in and out of Noxium.
Questions people ask
How do I reduce a photo's file size without losing quality?
Resize it. If a photo is 4,000 pixels wide but will be shown at 1,500, scaling it down removes data nobody would have seen. Then a JPEG quality of about 80–85% is hard to tell from the original on a screen. True lossless options, like PNG, rarely shrink photos much.
How do I compress a photo to under 1 MB?
Choose Target file size, type 950, and choose the photo. The tool finds the highest quality under that size. If it can't get there even at the lowest quality, tick Resize, set 2,000 pixels and press Compress again.
What JPEG quality should I use?
For photos on screens, 70–85% is a good range. Go to 90% or more for printing or for photos you'll edit again. Below about 50%, blocky patches and smeared edges start to show, especially in skies and on text.
Is WebP better than JPEG?
It's usually smaller at the same visual quality, and it supports transparency. JPEG is more compatible: some email clients, older software and upload forms still don't accept WebP. Use WebP for websites, and JPEG when you're not sure where the photo will end up.
Does compressing a photo remove its metadata?
With this tool, yes. The copy is redrawn from the pixels, so the location, date taken and camera details are not carried over. Other compressors may keep them, so check with an EXIF viewer if it matters.
Something wrong or out of date? Email business@inertiaprojects.info and we'll fix it.