Skip to content
JustTools

Image Compressor

Shrink photos without visible quality loss. Compress a whole batch, hit an exact size like 50 KB, convert to WebP and download everything as a ZIP — your images never leave your device.

Runs in your browser Free · no sign-up

At a glance

  • Images are compressed inside your browser — they are never uploaded to a server.
  • Accepts JPG/JPEG, PNG, WebP, AVIF, GIF (first frame) and BMP. HEIC opens only in browsers that can decode it, such as Safari.
  • Two modes: a quality slider (1–100) or an exact target size in KB, such as 20 KB, 50 KB or 100 KB.
  • Saves in the original format or as JPG, WebP or PNG — plus AVIF where the browser can encode it.
  • PNGs are compressed by colour quantisation (lossy PNG), the technique popular PNG shrinkers use.
  • Re-encoding removes EXIF metadata such as GPS location, camera model and capture time.
  • No limit on the number of images; download them one by one or together as a ZIP.
  • Free to use, with no sign-up and no watermark.

Step by step

How to compress an image online

  1. 1

    Add your images

    Drag and drop photos onto the box, click to browse, or paste an image with Ctrl+V (⌘+V on a Mac). Add as many as you like.

  2. 2

    Choose how to compress

    Use By quality and set the slider — 75 is a good balance — or choose To target size and enter the maximum size in KB.

  3. 3

    Pick a format and size

    Keep the original format or convert to JPG, WebP or PNG. Turn on Resize large images to cap the width and height.

  4. 4

    Check and download

    Compare before and after, then download each image, or click Download all to save every image in one ZIP file.

Features

Everything you need, nothing you don’t

Batch compression

Drop in dozens of photos at once. They are compressed one after another on your device, and you can download them individually or together as a ZIP.

Hit an exact file size

Choose To target size, enter a limit such as 50 KB, and each image gets the highest quality that fits. Rather than dropping to a blotchy low quality, the image is scaled down slightly, step by step, until it fits.

Convert while you compress

Keep the original format, or save as WebP for websites, JPG for maximum compatibility, PNG for graphics, or AVIF where supported.

Lossy PNG compression

PNGs are shrunk by reducing the palette to at most 256 colours, which often halves screenshots and graphics with little visible change.

Resize large photos

Set a maximum width and height to scale down oversized camera images. Proportions are always preserved and images are never enlarged.

Before-and-after comparison

Drag a divider across the original and compressed versions to check quality up close before you download.

Removes hidden metadata

Re-encoded images no longer carry EXIF data such as GPS coordinates, which makes photos safer to share publicly.

Never makes files bigger

With Keep original if smaller on, an image that is already well optimised is returned untouched instead of growing.

How does image compression work?

Photos from a phone or camera store far more detail than a screen can show. Lossy formats such as JPG, WebP and AVIF discard the detail your eye is least likely to notice — fine texture in busy areas, tiny colour shifts — and describe what remains more efficiently. The quality setting controls how aggressive that trade-off is.

PNG is lossless, so it has no quality setting in the same sense. For PNGs this tool reduces the number of distinct colours (colour quantisation) and then stores the result losslessly. Screenshots, logos and illustrations use relatively few colours, so they shrink dramatically with almost no visible change.

Everything is done with your browser’s built-in image encoders, so the output is a standard file that opens in any app.

JPG vs PNG vs WebP vs AVIF: which format should you use?

Rule of thumb: use WebP for anything going on a website, JPG when a form or older app insists on it, and PNG only for graphics with sharp edges, text or transparency.

FormatBest forTransparencyCompression
JPG / JPEGPhotos that must open everywhere — email, forms, printingNoLossy; the universal baseline
WebPPhotos and graphics on websitesYesLossy or lossless; typically 25–35% smaller than JPG at similar quality
AVIFWebsites that want the smallest possible filesYesOften around half the size of JPG, but slower to encode and not supported by every app
PNGScreenshots, logos, text and flat graphicsYesLossless; this tool adds optional colour reduction

How to compress an image to 100 KB, 50 KB or 20 KB

Job portals, exam applications and government forms often cap uploads at a fixed size such as 20 KB, 50 KB or 100 KB. Switch the mode to To target size, pick a preset or type your own limit, and every image is compressed to the highest quality that still fits.

Rather than dropping to a blotchy, very low quality, the tool reduces the dimensions in small steps until the image fits, and labels the result so you know. When a form also specifies pixel dimensions, turn on Resize large images and enter them first — the tool then lowers quality as far as needed before it touches those dimensions.

Most forms expect a JPG file. If the form says JPG or JPEG, set the output format to JPG so the file type matches.

Recommended quality settings

  • 85–90 — near-lossless. For portfolios and images you may edit again.
  • 70–80 — the sweet spot for websites and sharing; most people cannot tell it apart from the original.
  • 50–65 — noticeably smaller files for thumbnails, previews and chat apps.
  • Below 50 — only when size matters more than quality; blocky artefacts become visible up close.

Why compress images?

  • Faster websites. Images are usually the heaviest part of a page. Smaller images improve Largest Contentful Paint (LCP), one of Google’s Core Web Vitals.
  • Upload limits. Forms, marketplaces and content management systems reject files above a size limit.
  • Email and chat. Gmail allows 25 MB of attachments per message, so smaller photos mean more of them per email.
  • Storage. Compressing a photo library can free gigabytes on your phone or cloud drive.

Private by design

Many online compressors upload your photos to their servers. This one does not: images are decoded, compressed and saved entirely inside your browser tab, and the page never sends them anywhere. You can check it yourself — load the page, switch off Wi-Fi, and compress an image. It still works.

FAQ

Frequently asked questions

Is this image compressor really free?

Yes. There is no sign-up, no watermark, no daily limit and no cap on the number of images. The site is supported by ads, and your photos are never uploaded — not to us and not to advertisers.

Are my images uploaded to a server?

No. Compression runs entirely in your browser using its built-in image encoders. Your photos are never uploaded, stored or seen by anyone else.

How much smaller will my images get?

It depends on the image. Photos straight from a phone or camera often shrink by 50–80% at quality 75, and by more when you also resize them or convert to WebP. Images that were already heavily compressed shrink less.

Does compressing an image reduce its quality?

Lossy compression removes some detail, but at quality 70–85 the difference is usually invisible at normal viewing sizes. Use the before-and-after comparison to check any image before you download it.

How do I compress a photo to exactly 50 KB, 100 KB or 20 KB?

Choose To target size, click a preset or type your limit in KB, and download. The tool finds the highest quality that fits under the limit and scales the image down only if it has to.

Why did an image come back the same size?

If a file is already well optimised, re-encoding it could make it bigger. With Keep original if smaller on, the tool returns your original file instead. Turn that option off, lower the quality or convert to WebP to force a smaller file.

Does it remove EXIF data and GPS location?

Yes. Every re-encoded image is saved without EXIF metadata such as GPS coordinates, camera model and capture time. The only exception is an image returned unchanged by Keep original if smaller, which keeps its original metadata.

Can I compress iPhone HEIC photos?

Only in browsers that can open HEIC, such as Safari on iPhone, iPad and Mac. In Chrome, Edge or Firefox, convert the photos first with the HEIC to JPG Converter, then compress the JPGs here.

Will PNG transparency be kept?

Yes, when the output is PNG, WebP or AVIF. JPG cannot store transparency, so transparent areas are filled with the background colour you choose (white by default).

Does it work on phones?

Yes. It works in current versions of Chrome, Safari, Firefox, Edge and Samsung Internet on Android, iPhone, iPad and desktop computers.

Keep going

Browse every tool

Last updated Report a problem or suggest a feature