How to compress a JPEG
To compress JPEG photos you only need this page: choose a quality or a size limit, and you get smaller files that look the same. JPEG and JPG are the same format, so both file endings work.
- Press Choose files or drop your photos on the page: up to 500 on a computer or 100 on a phone. A PNG, WebP or HEIC file is converted too, with a note such as “This is a PNG file, not JPEG — converted anyway.”
- Pick a Mode. Quality sets how the photos look; Target size sets the most each file may weigh.
- For Quality, tap Best 85, Balanced 75 or Smallest 60, or drag the slider.
- For Target size, tap 100 KB, 200 KB, 500 KB or 1 MB, or type your own limit.
- Look at JPEG options, which are open from the start. The defaults suit most photos.
- Press the button, for example Compress 30 images.
- Check a photo in the viewer, which opens at 100 %, then Download it or use Download all (ZIP).
What JPEG quality numbers really mean
The quality number is a setting for the encoder, not a percentage of the original. Lower numbers let it round away more fine detail. The guide under the slider sums it up: “85: hard to tell apart · 75: web and email · 60: thumbnails and forms”.
Every photo already has a quality from the last time it was saved. Each row estimates it and shows something like “≈ q92”. That number explains a lot:
- A photo saved at about 92 has plenty of room, so compressing it at 75 usually saves a lot of space.
- A photo saved at about 70 has already been squeezed. Compressing it at 75 won’t help, and the row says: “Saved before at about quality 70; a higher setting only makes it bigger.”
The estimate is approximate, because a JPEG doesn’t store its quality number. Whatever happens, you never get a bigger file: if the new version would weigh more, your original is kept.
Get a JPEG under 100 KB, 500 KB or 1 MB
Upload forms usually state a maximum size, not a quality. Target size handles that. Sizes are decimal, so 500 KB means 500,000 bytes, and each photo ends at or under that number with the best quality that fits.
Three common cases:
- 100 KB for a profile picture or an application form that’s strict about size.
- 500 KB, the default here, for photos on a website or in an online shop.
- 1 MB for sending a handful of holiday photos by email.
Allow smaller dimensions to reach the target is on. A 48-megapixel photo may need fewer pixels to fit under 100 KB, and the row shows the new width and height when that happens. If even that isn’t enough, you’ll see “Couldn’t reach 100 KB” with the smallest size that was possible. Nothing is quietly saved over the limit.
Progressive JPEG and chroma subsampling, simply explained
Two settings sit under JPEG options.
Progressive is on by default. A progressive JPEG “loads in passes, blurry to sharp”, so a web page shows the whole photo early instead of drawing it from the top down. Switch it off only if an old system asks for baseline JPEGs.
Chroma decides how much colour detail is kept. With 4:2:0, the default, the photo keeps full brightness detail but only one colour sample for each 2 × 2 block of pixels. Eyes are far more sensitive to brightness, so photos look the same. 4:4:4 keeps colour for every pixel, giving “sharper text and red edges” at the cost of storing twice as many samples. Pick it for screenshots saved as JPEG, coloured text or logos.
Black-and-white photos stay greyscale rather than gaining colour channels.
Removing hidden photo data
Phone and camera photos carry hidden details: the date, the camera model and often the GPS location where you took them. Metadata decides what stays:
- Remove all (default) strips everything, including location.
- Keep date & camera, remove location keeps the useful facts but drops where you were.
Photos that were saved sideways with a rotation flag are written upright, so they display correctly everywhere. Wide-colour photos from recent iPhones (Display P3) are saved with standard colours, and the row notes “Wide-colour photo saved with standard (sRGB) colours.”
How it works
Your browser reads each photo, decodes it and encodes it again with MozJPEG, an open-source JPEG encoder known for small files at a given quality. Transparent areas in PNG or WebP input become white, because JPEG can’t store transparency.
All of this runs on your device. Nothing is uploaded, and once the page has loaded it keeps working offline. You can see how to check that with your browser’s own tools. The ZIP is built locally too and named after the count, such as compress-jpeg-30-files.zip.
Tips & limits
- Start from the original photo. A copy that has been re-saved many times has little left to give.
- A batch holds 500 photos on a computer or 100 on a phone; each photo can be up to 100 megapixels, or 16.7 on a phone.
- The whole batch shares one setting; per-photo quality isn’t available.
- There’s no width or height setting here. To make photos smaller in pixels first, use Image Resizer.
- Wide colour isn’t kept, and a lossless re-pack isn’t offered.
- For a straight HEIC-to-JPEG conversion without squeezing the size, HEIC to JPG is simpler.
Frequently asked questions
What JPEG quality should I use?
Quality 75 is the right starting point for most photos, and it is the default here. At 85 a compressed JPEG is hard to tell apart from the original, which suits portfolios and printing. At 60 the file gets much smaller, which is fine for thumbnails and online forms. Whatever you pick, check the result at 100 % before downloading.
How do I compress a JPEG to under 100 KB?
Switch Mode to Target size and tap the 100 KB chip, or type any limit in KB or MB. Each photo is saved at the highest quality that stays under 100 KB. If quality alone isn't enough, the photo is also made smaller in pixels and the row tells you the new size. When a limit truly can't be reached, you are told.
Can I compress a JPEG without losing quality?
Not exactly, because every save on this page re-encodes the photo and drops a small amount of detail. At quality 85 that loss is very hard to see. A lossless re-pack, which only stores the existing pixels more efficiently, isn't offered here. If a photo was already saved at low quality, compressing it again gains little and the tool will say so.
Why is saving a JPEG again and again bad?
Each JPEG save throws away a little more detail, and the losses add up over many rounds. Sharp edges pick up blocky halos and smooth skies start to show bands. Compress from the original camera file whenever you can, rather than a copy someone sent you. The estimate on each row hints at how hard a photo was squeezed before.
What does chroma 4:4:4 mean in JPEG options?
Chroma 4:4:4 keeps colour information for every pixel, while the default 4:2:0 keeps one colour sample for each block of two by two pixels. Eyes notice brightness far more than colour, so 4:2:0 looks the same on most photos and takes less space. Choose 4:4:4 for screenshots, small coloured lettering and sharp red edges.
Do you keep my photos?
No, your photos are never uploaded to us or stored by us. Compression happens in your browser on your own device, and the files stay in its memory only until you close the page. Your browser downloads the site and its compression code, and the page works offline after your first visit. Ads and analytics, if enabled, are separate and consent-based.
How do I compress a JPEG on an iPhone or Mac?
Open this page in Safari, tap Choose files and pick photos from Photos or Files; on a Mac you can also drag them onto the page. HEIC photos from an iPhone are turned into JPEG along the way. On an iPhone, single photos and the ZIP are saved to the Files app, in Downloads. You don't need an app or an account.
Last reviewed: