Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

Image Compressor

Make photos and graphics smaller — or fit them under a KB limit — without uploading.

Free preview, no sign-upIncluded in your pass Pro tool Pro pass: ₹179 / $5.99 for 30 days On this device: nothing is sent
+3 +1 more details No uploadWorks offline once opened Image

Free preview: your compressed image at preview size (up to 640 pixels) with a MySmartCoPilot watermark and its real file size; in a batch the first images (up to 3) are made. Locked until you unlock it: download.

Pro pass ₹179 for 30 days or ₹79 for 1 week, one‑time. Pro pass $5.99 for 30 days or $2.99 for 1 week, one‑time. How to unlock

Try before you buy.

  • Free preview: your compressed image at preview size (up to 640 pixels) with a MySmartCoPilot watermark and its real file size; in a batch the first images (up to 3) are made.
  • Locked until you unlock it: download.
  • Unlock: Pro pass, ₹179 for 30 days or ₹79 for 1 week, a one-time payment unless you choose automatic renewal. Unlock: Pro pass, $5.99 for 30 days or $2.99 for 1 week, a one-time payment unless you choose automatic renewal.

Ways to unlock shows how to get the full result.

See passes (opens in a new tab)

Printing this result is locked in the free preview.

KB
Sizes forms ask for

The sharpest file at or under this size. 1 KB is counted as 1,000 bytes, so it also passes forms that count 1,024. Type “1.5 MB” for megabytes.

Settings

Transparent areas become white in JPG.
80
For JPG, WebP and AVIF.

PNG compression

No visible change: re-packs the pixels as compactly as possible.

256
256 is usually invisible; fewer colours give smaller files.
px
px

Keeps the aspect ratio. Smaller images are not enlarged.

Metadata can include the camera, the date and the GPS location where the photo was taken. Leave this off to remove it.

Next steps Done. What next?

Start over

A Pro pass unlocks the full result. See passes

All image tools

About the Image Compressor

Make images smaller without sending them anywhere. Drop in JPG, PNG or WebP files and they are re-encoded in your browser: photos at the quality you choose, PNG graphics either by reducing the number of colours (the technique popular PNG optimisers use) or by lossless re-packing. Every file shows its size before and after, and you can compare the result with the original side by side — at 100% if you like — before downloading it with a pass.

Need a file under a limit, such as a 50 KB photo for an exam, job or government application form? Type the size in Fit under … KB, right under the picker, and the compressor searches for the highest quality that fits, reducing the dimensions only when it has to. JPG files are written with MozJPEG, an encoder made for small files, so the result is the same in every browser. Without a pass, the free preview shows your result at preview size with a MySmartCoPilot watermark; in a batch, only the first files are made.

How to use it

  1. Drop images onto the box, click Choose images, or paste a screenshot with Ctrl/⌘ + V. You can add up to 100 at a time.
  2. Keep Same as original to compress without changing the format, or pick JPG, PNG or WebP. Adjust Quality (JPG/WebP) or Colours (PNG) — results update automatically.
  3. Optional: type a size in Fit under … KB to hit a target, or turn on Resize large images to set a maximum width or height.
  4. Check the saving on each file, use the eye button to compare, then download images one by one (with a pass, or after unlocking one) or Download all as a ZIP with a pass.

Examples

A photo for an application form that must be under 50 KB
Input
Fit under: 50 KB · Allow smaller dimensions: on
Result
A JPG of at most 50,000 bytes at the highest quality that fits; the list shows the quality used and any change in dimensions.

If the form also requires exact pixel dimensions (for example 200 × 230 px), set them first with the Image Resizer.

Large phone photos for email
Input
4032 × 3024 JPG · Resize large images: max width 1920 · Quality 80
Result
1920 × 1440 JPG — about a quarter of the pixels, so typically a fraction of the original size.
Screenshots and logos (PNG)
Input
PNG · Lossy · 256 colours · Dithering on
Result
An 8-bit palette PNG that keeps transparency; screenshots and flat graphics usually shrink a lot with no visible change.

Common uses

  • Getting photos and scanned signatures under the KB limits of exam, job and government application forms.
  • Making web pages load faster: smaller images download sooner, especially on mobile data.
  • Emailing or messaging many photos without hitting attachment limits.
  • Shrinking PNG screenshots and UI graphics for documentation, tickets and chat.
  • Removing camera details and GPS location from photos before sharing them.

How each format is compressed

  • JPG and WebP are lossy: the encoder discards detail the eye notices least. Lower quality means smaller files and more visible artefacts (blockiness, smudged fine detail). Start at 80 for photos and compare at 100%; if you cannot see a difference, try lower.
  • JPG is written by MozJPEG, Mozilla’s JPEG encoder, which runs inside the page: it is built to get more picture out of every kilobyte (trellis quantisation), and it writes the same file in every browser. The files are baseline JPGs, the kind every upload form accepts. If it cannot load (for example offline before the page saved it), your browser’s own encoder is used instead.
  • PNG (Lossy) reduces the image to at most the number of colours you choose (2–256) and saves it as an 8-bit palette PNG, keeping transparency. Dithering mixes neighbouring colours to hide banding in gradients.
  • PNG (Lossless) keeps the image looking exactly the same and re-packs the file: a palette when there are 256 colours or fewer, greyscale or RGB without an alpha channel when possible, the best row filter for each line and maximum compression. Opaque pixels are stored exactly; partly transparent pixels can shift by a rounding step, because browsers keep canvas pixels premultiplied by their transparency.
  • WebP is often the smallest choice. Google reports that lossy WebP files are 25–34% smaller than comparable JPEGs at equivalent SSIM quality, and lossless WebP files 26% smaller than PNGs (WebP documentation).

How “Fit under … KB” works

The compressor encodes the image several times, searching (by halving the range each time) for the highest quality — from your quality setting down — whose file is at or below the target. For PNG it searches the number of colours instead. With Allow smaller dimensions on, it does not go below quality 40 (or 64 colours), because lower settings look visibly damaged: if that is still too big, it scales the image down step by step until it fits. With the option off, it goes as low as quality 5 (or 2 colours) and keeps the dimensions.

The target is for the whole file: with Keep photo metadata on, the metadata counts towards it and the picture gets the rest. If the metadata leaves too little room for the picture, the list says so. The target uses 1 KB = 1,000 bytes, so the file also passes upload checks that count 1 KB as 1,024 bytes.

Metadata and privacy

Re-encoding an image in the browser removes its metadata: camera model, date taken, GPS location and other EXIF fields are not copied to the compressed file. If you want to keep them (for example so photo apps still sort by date), turn on Keep photo metadata — this applies to JPG to JPG compression, resets the orientation tag and removes the embedded thumbnail.

When Keep the original if it is already smaller hands back your original file, its metadata is still removed — without re-encoding, so the picture itself is untouched — unless you turned on Keep photo metadata. Colour profiles stay so colours look the same, and a photo taken sideways keeps only its rotation flag so it still displays upright.

Limitations

  • Images up to 50 megapixels and 200 MB each, up to 100 images per batch. Large images can take a few seconds each on phones.
  • Animated GIF, PNG and WebP files keep only their first frame.
  • Colours are converted to standard sRGB by the browser, so wide-gamut (Display P3) photos can lose a little saturation. PNG files with 16 bits per channel are saved with 8 bits per channel, the precision browsers decode them at.
  • WebP and AVIF come from your browser’s built-in encoders, so the same quality number can give noticeably different file sizes in Chrome, Firefox and Safari. JPG is written by MozJPEG and comes out the same everywhere, except for images over 24 megapixels, which use the browser’s encoder. AVIF output appears only if your browser can create AVIF files.
  • Lossy compression cannot be undone — keep your original files.

Privacy

On this device: nothing is sent

Images are processed in your browser and are never uploaded. The files you download contain no camera details, dates or GPS location unless you choose to keep the photo metadata.

How to check that nothing is uploaded

Frequently asked questions

What do I get without a pass?

Without a pass, Image Compressor shows your compressed image at preview size (up to 640 pixels) with a MySmartCoPilot watermark and its real file size; in a batch the first images (up to 3) are made. Until you unlock it, the result can’t be downloaded. A Pro, Premium or Ultimate pass, a one-time payment unless you choose automatic renewal, unlocks the full result. The pricing page lists the passes and their prices.

Are my images uploaded to a server?

No. Compression runs entirely in your browser: JPG with MozJPEG, PNG and WebP with MySmartCoPilot’s encoders and the browser’s own, all part of the page. Once the page has loaded it keeps working without an internet connection.

What quality setting should I use?

For photos, 75–85 is a good starting point. Compare the result at 100% (Actual pixels): if it looks the same as the original, try a lower value. For images with text or sharp edges, use PNG or a higher quality.

How do I compress an image to 50 KB or 20 KB?

Type 50 (or 20) in Fit under … KB under the picker and keep Allow smaller dimensions switched on. The tool finds the highest quality that fits and, if needed, reduces the pixel size. Compress Image to KB has one-tap buttons for the sizes forms ask for and lists which forms ask for which size. If the form also specifies dimensions, set them first with the Image Resizer.

Why did one of my files get bigger?

Images that are already well compressed — or saved at a lower quality than your setting — can grow when re-encoded. With Keep the original if it is already smaller on, you get your original file back in that case and the list says so.

Will PNG colour reduction make my image look worse?

Screenshots, logos and illustrations usually look identical at 256 colours. Photos and smooth gradients can show banding; Dithering hides most of it. If you need every colour, choose Lossless — or convert photos to JPG or WebP, which suit them better.

Does compressing remove the location from my photos?

Yes. Unless you turn on Keep photo metadata, the files you download contain no EXIF, XMP or IPTC metadata — no GPS coordinates, camera details or dates — even when your original is handed back because it was already smaller.

Open-source components

This page can load these open-source components, each only when a task needs it:

You may replace them with your own builds. Their licences and the credits of every library the site uses are on the open-source credits page.

Learn more

Lessons on MySmartCoPilot Learn that use this tool:

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.