Compress Image
Set the size you need — 500 KB, 1 MB, whatever the upload form demands — and get the best quality that fits under it. Everything runs on your device.
At a glance
- Where it runs
- Runs in your browser — your file is never uploaded.
- File size
- Up to 50 MB per file.
- Offline
Works offline — everything it needs is already on your device.
- Batch
- Several files at once.
- Cost
- Free, with no account and no daily limit.
JPG (JPEG) is a compact, lossy image format ideal for photographs and web images where small file size matters. File Converts turns your Image into Smaller Image right in your browser — no upload, no sign-up, and no daily limit. Because the conversion runs on your own device, even sensitive files stay private, and it keeps working offline once the page has loaded.
How compress-to-size chooses the quality
In "Compress to size" mode you set a maximum file size and the tool searches for the best quality that fits under it. It encodes your image at 92% quality, checks the size, and if that is still over the limit tries 85%, 75%, 65%, 55%, 45%, 35% and finally 25%, stopping at the first one that fits. So the result is the highest quality on that ladder that meets your limit, not the lowest.
Every attempt is made from your original file, not from the previous attempt, so stepping down the ladder does not compound the damage. The quality slider is greyed out in this mode because the search sets it for you. The pixel dimensions are not changed: compress-to-size only adjusts quality.
When the quality steps cannot reach your limit
If even 25% quality is still over your limit, the tool keeps the smallest version it produced and marks the image as done. When the run finishes, a notice names any image still over the target, so you find out before you upload it anywhere with a hard limit.
The fix is fewer pixels. Halving the width and height leaves a quarter of the pixels, which cuts file size far faster than lowering quality, and costs nothing visible if the image is only shown at a small size. Switch to Resize mode in the same box, or open Resize Image, scale the image down, then use "Continue with another tool" to send the result straight to Compress Image — the file is handed over in the page, not uploaded.
"KB" here means 1,024 bytes
The size you type is converted with 1 KB = 1,024 bytes and 1 MB = 1,048,576 bytes. The quick presets are 500 KB, 1 MB, 2 MB and 5 MB. Some upload forms count a kilobyte as 1,000 bytes instead, and on those a file of "500 KB" by this tool's count is 512,000 bytes, which is over a 500,000-byte limit. If a form is strict, or you are not sure how it counts, set your target a little lower than the stated limit, such as 480 KB for a 500 KB limit.
PNG, WebP and images with transparency
The output format starts at JPG whatever you put in, so a transparent PNG will be filled with white unless you change it. The box warns you before you start when any selected image has transparent pixels. Pick WebP to keep the transparency and still get the quality search.
Choosing PNG as the output turns the search off. PNG is lossless, so there is no quality setting to lower: the image is encoded once, and if that misses your limit, smaller dimensions or a different format are the only ways down.
Which metadata the box tells you about
As soon as your images are added, the box reads the EXIF block of any JPEG and tells you what it found — the camera make and model, and in bold whether GPS location is present. That check reads JPEG files only, so a PNG or WebP will not trigger the notice, but every output is re-encoded from pixels either way and carries no camera, date or location data.
One side effect worth knowing: the date the photo was taken goes too. Photo libraries that sort by capture date will fall back to the file's own date for the compressed copies, so keep the originals if that order matters.
Batches, presets and downloading
Add up to 50 images at a time, each up to 50 MB, in JPG, PNG, WebP, AVIF or GIF. If you select more than 50, the first 50 are kept and a notice tells you how many were left out. Oversized files are skipped with a message, and one image that fails does not stop the rest — it is marked on its row and a Retry button picks up just the failures. Cancel takes effect between images, not halfway through one. With more than one result, Download gives you a single ZIP.
Presets save your settings — mode, format, target size — so a "500 KB JPG for the job portal" setup is one click next time. They never store the images themselves. If you are preparing a whole set of pictures for a website, the Website Images workflow runs resize, compression and format choice as one job.
What to do when an image won't compress
"No images selected" means none of the files was an image type. "This image could not be decoded" means your browser cannot read the file: it may be damaged, or in a format the browser does not open itself. iPhone HEIC photos are the usual case — convert them with HEIC to JPG first. "The browser could not encode this image" usually points to an image too large for the browser's canvas; reduce its dimensions and try again. Each side is also capped at 12,000 pixels. An animated GIF comes out as a single still frame.
What this tool does
- Input formats
- JPG, PNG, WebP, AVIF and GIF
- Output
- JPG (default), WebP or PNG
- Size search
- Quality 92% down to 25% in eight steps; first fit wins
- Size units
- 1 KB = 1,024 bytes; presets 500 KB, 1 MB, 2 MB, 5 MB
- Where it runs
- In your browser — nothing is uploaded
- File size limit
- 50 MB per image
- Batch
- Up to 50 images; several results download as a ZIP
- Metadata
- EXIF, including GPS, is not carried into the output
- Transparency
- Filled with white for JPG; kept for WebP and PNG
- Works offline
- Yes, once the page has loaded
How to convert Image → Smaller Image
Drop your images in — up to 50 at once.
Choose "Compress to size" and set the limit.
Download individually or as a ZIP.