KeepLocalHubGet the app
Explore more

Home / Tools

Image compressor

Shrink photos and screenshots for email, forms and websites. Pick a quality, or type the size a form allows (100 KB, 1 MB…) and every file is made just under it.

Drop the images to compress

or drop them here, or paste with Ctrl+V. No size or number limit.

Processed on this device · 0 files uploaded · Check it yourself

Save as
75–85 suits most photos. Lower = smaller file.
More options
Photo details (EXIF)PNG, WebP and AVIF files are always saved without photo details.

How to use it

  1. Drop your images on the page, choose files or a folder, or paste a screenshot with Ctrl+V. Compression starts straight away, on your device.
  2. Under Save as, keep Same as original or pick JPG, WebP or AVIF for a smaller file. Move the Quality slider: lower means smaller.
  3. If a form or inbox has a limit, type it in Make every file smaller than (under More options) and choose KB or MB.
  4. Changed a setting after the files were done? Press Apply to all again.
  5. Save each file with Download, or everything at once with Download all to get one ZIP file.

Two ways to compress: a quality or a size limit

With the Quality slider alone, every image is saved once at that quality. The file size then depends on the picture: a busy, detailed photo stays larger than a plain screenshot at the same setting.

With Make every file smaller than, you set the result instead of the setting. Each file gets its own quality, so every one ends up at or under your number. Use this when a form, a job portal or an email account tells you the maximum.

Which settings for which job
Where the image goesSave asSize setting
A form with a 100 KB limitJPGMake every file smaller than 100 KB
Email attachmentsSame as original or JPGQuality around 75; check the total of all files against your email provider's limit
Pictures on your own websiteWebPQuality around 75, plus a Longest side (px) that suits your layout
Screenshots with small textSame as original (PNG)No limit, unless a form sets one

How the size limit works

We first try the quality on the slider. If the file already fits, we stop there, so no file is made worse than it needs to be. If it doesn't fit, we search for the highest quality that does, halving the gap with each try.

Only when even the lowest quality is still too big do we shrink the pixel size, a little at a time, and search again. If nothing usable fits, you get the smallest version we could make and a note suggesting fewer pixels.

Here 1 KB means 1000 bytes, the SI meaning of kilo. A form that counts 1 KB as 1024 bytes allows slightly more, so a file made under our number fits either way:

The same limit counted two ways
You typeWe stay underLimit if the form counts 1024
100 KB100,000 bytes102,400 bytes
240 KB240,000 bytes245,760 bytes
1 MB1,000,000 bytes1,048,576 bytes

Same format or a new one

Same as original keeps each file's format, so a JPG stays a JPG. That is the safe choice when you don't know what the receiving site accepts.

Converting usually saves more. MDN's image format guide notes that lossy WebP files are on average 25–35% smaller than JPEGs of similar quality, and lossy AVIF files around 50% smaller. Check that the place you send them to accepts WebP or AVIF: many forms still ask for JPG.

Save asGood forKeep in mind
JPGPhotos for forms, email and printingOpens almost anywhere. Transparent parts become white.
WebPPictures on your own websiteSmaller than JPG; some older apps can't open it.
AVIFWebsites where every kilobyte countsOften the smallest; fewer apps accept it.
PNGScreenshots, text, logos, transparencyLossless, so the quality slider doesn't apply.

Why PNG files shrink less

PNG is a lossless format: every pixel is kept exactly. We optimise PNG files with OxiPNG, which finds a tighter way to store the same pixels, so the saving is real but usually modest.

For photos saved as PNG, switch Save as to JPG or WebP. For screenshots with small text, PNG often stays the better choice, because lossy formats blur sharp edges. With a size limit and PNG output, only the pixel size can go down.

We keep the original when it's already small

The compressor never hands back a bigger file in the same format. If re-saving doesn't help, you get your original file back with a short note, and its photo details are still removed if you chose that.

Photo details (EXIF) is set to Remove everything here, which also takes out the location your phone may have saved. Pick Keep date taken and camera, remove location or Keep everything, including location if you need them; PNG, WebP and AVIF files are always saved without them. To see what a photo carries first, use Remove EXIF data.

Questions

Does compressing an image lower its quality?
JPG, WebP and AVIF compression removes detail you mostly can't see; at very low settings blocks and blur appear. PNG compression here is lossless, so the picture stays identical. Look at the result before you send it if quality matters.
Can I make a file exactly 100 KB?
The tool makes each file under the limit, as close as it can get without passing it. Being a little under is what forms check for, so there's no need to hit the number exactly.
Why is my file the same size as before?
It was already as small as it gets at that quality, so we kept the original. Lower the Quality, set a size limit, or save it as WebP or JPG instead.
The tool says it couldn't get under my limit. What now?
The picture has too many pixels for that size. Enter a smaller Longest side (px) under More options, or use Resize image first, then compress again.
Can I compress a whole folder?
Yes. Choose a folder (on desktop browsers) or drop many files; there is no file limit apart from your device's memory. The results list shows how much smaller everything got in total.
Are my images uploaded to compress them?
No. The encoders run inside your browser and the files never leave your device. See how to check it yourself.

Sources ·

Free tools for files you have the right to use. Everything runs on your device; check important results (forms, prints, official photos) before you send them. Terms of use.