Image Compressor

Shrink JPG, PNG, WebP and AVIF images right in your browser. Your photos never leave your computer β€” there is no upload, no account and no watermark.

1Add images β€” drag them in or click to browse

Drag images here, or click to choose them

JPG, PNG, WebP, AVIF, GIF or BMP Β· up to 50 MB each Β· up to 30 files at once Β· processed locally in your browser

2Choose settings β€” quality and format do most of the work

80% is the sweet spot for photos. Below 60% you will start to see blocky artefacts.

Photos compress best as JPEG, WebP or AVIF. PNG is only worth it for screenshots, logos and images with transparency.

More settings resize & PNG colours

Leave empty to keep the original dimensions. Shrinking a 4000 px photo to 1600 px saves more than any quality setting.

Only applies when the output is PNG. Fewer colours make a much smaller file β€” 64 is plenty for logos and screenshots with flat colours. Leave it at 256 for photos and gradients. Your browser strips photo metadata (location, camera info) from every compressed image automatically.

3Check & download β€” compare, then take the smaller file

What is an image compressor?

An image compressor makes a picture file smaller without changing what the picture shows. A photo straight from a phone is often 3 to 8 MB, because the camera saves far more detail than a screen can show. Most of that detail is invisible at normal viewing sizes, and a compressor throws away the parts your eyes cannot see β€” a process called lossy compression β€” while keeping the picture looking the same.

This tool does the compression on your own computer, inside your browser, using the same canvas technology every modern browser ships with. The image is drawn onto a canvas and re-saved at the quality you choose. It is never sent to a server, which is why there is no upload progress bar, no waiting room, and no copy of your photo sitting on somebody else's computer afterwards. That also means it works offline once the page has loaded, and it works the same on Windows, macOS, Linux, Android and iPhone.

Compression is not magic, and it is not free. Every time you re-save a JPEG you lose a little quality, so the rule is simple: always compress a copy, keep the original, and compress once at the quality you actually need.

How to compress an image

  1. Choose an image. Drag a JPG, PNG, WebP, AVIF, GIF or BMP file onto the box above, or click the box and pick a file from your computer. Files up to 50 MB are accepted. Animated GIFs are compressed from their first frame; HEIC photos from iPhones cannot be opened by browsers, so the tool tells you that plainly instead of failing silently.
  2. Set the quality. The slider starts at 80%, which is a good default for photos. Move it up if the picture will be printed or shown full-screen; move it down if the file still needs to be smaller.
  3. Resize if the picture is bigger than it needs to be. A 4000 px wide phone photo displayed at 800 px on a web page is carrying five times more pixels than anyone will see. Set a maximum width β€” 1600 px for a blog post, 800 px for an email β€” and the file shrinks dramatically. The quick buttons under β€œMore settings” set the common sizes in one click.
  4. Pick a format, or leave it on Auto. Auto keeps a JPEG as a JPEG and a PNG as a PNG. Switch to JPEG for photos, WebP if you want the smallest file and your audience uses modern browsers, and AVIF if your browser supports it β€” AVIF is usually smaller still. More settings holds the PNG colour control: dropping a PNG to 64 colours can shrink a logo or screenshot dramatically, and it does nothing at all to photos.
  5. Check the result and download. The page shows the original and compressed sizes, how much you saved, and a side-by-side preview. If the compressed version looks worse than you expected, raise the quality and it re-compresses instantly. When you are happy, hit Download.

Changing the quality, the width or the format re-compresses the image immediately, so you can try 90%, 80% and 60% in a few seconds and pick the smallest file that still looks right to you. Zoom the preview in to check fine details such as text, hair and fabric before you download.

Compressing several images at once

You do not have to compress photos one by one. Select several files at once in the file picker, or drag a whole group of them onto the box, and they join a batch queue β€” up to 30 files, each up to 50 MB. The tool works through the queue in order and shows each file's original size, compressed size, percentage saved and status (queued, compressing, done or error), plus a total at the top of the queue so you can see what the whole batch saved. Every finished file gets its own Download button, and β€œDownload all as ZIP” bundles everything that succeeded into one compressed-images.zip file. Changing the quality, width or format while a batch is queued re-compresses the whole batch with the new settings. If one file in the batch is damaged or in an unsupported format, it is marked as an error and the rest keep going β€” a single bad file never stops the batch. Keep batches modest on older phones and computers: each image is held in memory while it is processed, so thirty 50 MB photos is a lot to ask of a small device. Split very large jobs into a few smaller batches.

Real results: what actually happens to file size

We tested this tool with a detailed 1600 Γ— 1200 sample photo β€” the kind of colourful, busy picture that is hardest to compress β€” originally saved at JPEG quality 95 and weighing 692 KB. Here is what each setting produced:

SettingResulting sizeSmaller byWhat it looked like
Quality 90%, same size467 KB33%Indistinguishable from the original
Quality 80%, same size256 KB63%Identical at normal viewing distance
Quality 60%, same size129 KB81%Fine on screen; slight softness when zoomed in
Quality 80%, resized to 800 px wide46 KB93%Perfect for email and chat; too small to print

Two lessons fall out of that table. First, quality 80% is the sweet spot for photos: it cut this picture by almost two-thirds with no visible difference. Second, resizing beats quality every time. Dropping the width from 1600 px to 800 px saved far more than dropping the quality from 80% to 60% β€” and the resized picture still looked sharp at the size it was meant to be shown. If a file is still too big, shrink its dimensions before you touch the quality slider.

Your own photos will vary. A flat, simple picture β€” a clear sky, a white background β€” compresses much further than a busy one. We measured it on a flat-colour logo-style image (800 Γ— 600, transparent background): saved as a full-colour PNG it weighed 13.6 KB; dropping it to 64 colours with the PNG colours control brought it to 4.0 KB β€” 71% smaller β€” with no visible change. A picture that was already compressed once, for example a photo downloaded from social media, will barely shrink at all, and the tool will tell you so. That is normal: you cannot squeeze water out of a stone that is already dry.

JPEG, PNG, WebP or AVIF β€” which format should you choose?

JPEG is the right choice for almost every photo. It was designed for photographs, it is supported everywhere, and it produces the smallest files for pictures with lots of colour and detail. Its one weakness is transparency: a JPEG cannot have a see-through background, so if your PNG has transparent areas they will be filled with white when you convert to JPEG. This tool does that fill for you, so the result is a clean white background instead of a black one.

PNG is the right choice for screenshots, logos, diagrams and anything with sharp text or flat colours. PNG compression is lossless, so text stays crisp. But PNG is a terrible format for photographs: in our test, saving the same sample photo as a PNG produced a 3.1 MB file β€” more than four times larger than the original JPEG. If your photo is a PNG, converting it to JPEG is usually the single biggest saving you can make, unless you need the transparency. For the images where PNG is the right format, the PNG colours control under β€œMore settings” is the other big lever: a logo or screenshot rarely needs more than 64 colours, and cutting the palette from 256 to 64 shrinks the file further without any visible change, because flat colours do not need a 16-million-colour palette.

WebP is the modern middle ground. At the same quality it is typically 25–35% smaller than JPEG, and unlike JPEG it supports transparency. The catch is compatibility: every current browser supports it, but some older software β€” old versions of Photoshop, some email clients, a few print shops β€” still does not. Use WebP for your own website, and JPEG when you are sending a file to someone else and you are not sure what they will open it with.

AVIF is the newest of the four and usually the smallest: at the same quality it can be 20–50% smaller than JPEG, and it supports transparency like WebP. The catch is support on the saving side β€” Chrome, Edge and Firefox can save AVIF, Safari cannot yet. That is why this tool checks your browser first and disables the AVIF option with an explanation when it is not available, instead of letting you pick a format that silently fails. Use AVIF for your own website when your visitors use modern browsers, and JPEG when the file has to open anywhere.

Rule of thumb: photos β†’ JPEG, WebP or AVIF. Screenshots, logos and text β†’ PNG. Need transparency β†’ PNG, WebP or AVIF, never JPEG.

Three everyday uses

1. Making a website or blog load faster

A page with five 3 MB photos is a 15 MB page, and most visitors on a phone will leave before it finishes loading. Google also uses page speed as a ranking signal, so heavy images quietly cost you visitors twice over. Before uploading, resize each photo to the width it will actually be displayed at β€” usually 1200 to 1600 px for a full-width blog image, 800 px for a thumbnail β€” and compress at 80% quality. In our test that combination took a 692 KB photo down to 46 KB, a 93% saving, with no visible difference on screen. Do that for every image on the page and a slow, heavy site becomes a fast one. One practical tip: compress the image before you upload it to your website or content system, not after. Many platforms re-compress on upload, and compressing an already-compressed image is what makes photos look blotchy.

2. Sending photos by email or chat

Email attachments have size limits β€” Gmail stops at 25 MB per message, and many company mail servers stop at 10 MB β€” and a handful of phone photos can hit that limit fast. Chat apps are worse: they often shrink your photo silently and badly, leaving you with a blurry copy and no say in the matter. Compressing first puts you in control. Resize to 1600 px wide at 80% quality and a 4 MB phone photo usually lands under 500 KB, small enough to attach several to one email and quick to send on a slow connection. The recipient gets a photo that looks exactly like the one you took, because you chose the quality instead of letting the app guess.

3. Listing products and sharing on social media

Marketplaces and social networks all have their own upload limits and their own way of mangling your photos. eBay, Etsy and Facebook each re-compress uploads, and a photo that is already enormous gets crushed twice β€” once by you, once by them β€” which is how product photos end up looking soft and washed out. The fix is to upload a file that is already close to the platform's display size, compressed once at 80 to 85% quality. For a typical product listing, 1600 px on the long side is plenty; anything bigger is wasted bytes that slow down the page for buyers on their phones. The same applies to a profile picture or a post: a 200 KB photo uploads instantly and looks identical to the 4 MB original once it is displayed at 500 px wide.

Common mistakes to avoid

  • Compressing the same file twice. Every JPEG save throws away detail. Compress once from the original, and keep the original file. If you compress a compressed copy again, the artefacts stack up quickly.
  • Using PNG for photographs. A photo saved as PNG can be five to ten times larger than the same photo as JPEG. Only use PNG when you need transparency or perfectly sharp text.
  • Keeping the full 4000 px width for a web page. Nobody sees those extra pixels on a screen. Resize first, then compress β€” it saves more than any quality setting.
  • Going below 60% quality to chase a tiny file. Under 60%, skies turn banded, faces turn waxy and text gets halos. If 60% is still too big, resize the image instead.
  • Forgetting to check the result. Always look at the preview at full size before downloading, especially around text and fine detail. A setting that is fine for a landscape can ruin a screenshot.

Frequently asked questions

Is this image compressor really free?
Yes. There is no account, no subscription and no limit on the number of images you compress. The tool runs entirely in your browser, so there is nothing to pay for on our side either β€” no server time, no storage, no bandwidth.
Are my photos uploaded to a server?
No. The file is read by your browser, drawn onto a canvas, and re-saved on your own device. It never leaves your computer. You can test this yourself: load the page, turn off your Wi-Fi, and the compressor still works.
Will compression reduce the quality of my photo?
JPEG, WebP and AVIF compression are lossy, so technically yes β€” but at 80 to 90% quality the difference is invisible in normal viewing. In our test, quality 80% cut a 692 KB photo to 256 KB with no visible change. If you need pixel-perfect quality, use PNG, but expect a much larger file.
Why is my compressed file bigger than the original?
That happens when the original was already heavily compressed, or when you convert a photo to PNG. A PNG of a photograph is almost always larger than the JPEG it came from β€” in our test it was 3.1 MB versus 692 KB. Switch the output format to JPEG, WebP or AVIF, or lower the quality, and the file will shrink.
What is the maximum file size?
50 MB per image. In practice, anything that large is almost certainly a photo straight from a camera, and resizing it to a sensible width will save far more than compression alone. There is no daily limit.
Can I compress AVIF images?
Yes, if your browser can save AVIF β€” Chrome, Edge and Firefox can, Safari cannot yet. The tool checks your browser when the page loads: if AVIF is available you can pick it as the output format, usually the smallest file of all. If your browser cannot save AVIF, the AVIF option is disabled and the page tells you why, instead of pretending.
What about HEIC photos from my iPhone?
Browsers cannot open HEIC files at all, so no browser-based tool can compress them β€” ours included. If you drop a HEIC file here, the tool explains that instead of failing silently. On your iPhone, switch to Settings, Camera, Formats, Most Compatible and take the photo again, or export the photo as JPEG first, then drop it here.

Privacy

Because everything happens in your browser, we never see your images, we do not store them, and we cannot share them β€” there is nothing to share. No account means there is no profile to build and no email address to collect. Close the tab and the image is gone from memory.

Share this tool

Copy the link below and paste it anywhere β€” a chat message, an email, a document. Whoever opens it gets the same free tool, with no account and nothing to install.

Related tools