Compress Images. Keep the Quality.

Free Online Image Compressor

Reduce image file sizes in seconds while keeping your images looking great.

Free to use. No account required. Images are processed in your browser.

Drag and drop your images here

or click to browse files

JPG PNG WebP GIF SVG

Up to 40 MB per image. Nothing is uploaded.

How to Compress Images Online

Three steps, and none of them involves uploading your file to a server.

  1. Add your images. Drag files onto the box above, or click it to browse. You can select several at once, and JPG, PNG, WebP, GIF and SVG are accepted up to 40 MB each. Animated GIFs are refused, because a browser cannot write one.
  2. Choose your settings. Set the quality slider, pick an output format, and optionally cap the width or height. The quality control only applies to JPG and WebP; PNG is lossless and stays that way.
  3. Compress and download. Each image is processed on your device and given its own result with the real before and after size. Download them one at a time, or save the whole batch together.

Why Compress Images?

Smaller files load faster, travel further and cost less to store.

  • Faster pages

    Images are usually the largest part of a page. Halving their size is often the single biggest speed improvement available, especially on a mobile connection.

  • Smaller files to share

    Email attachments, chat apps and upload forms all have limits. Compressing first means fewer rejections and less waiting for the person receiving them.

  • Less bandwidth

    If you publish images on a site, smaller files mean less traffic, lower hosting costs and visitors who stay on slower connections.

  • Nothing uploaded

    Most online compressors copy your file to their server. This one runs entirely in your browser, so a personal photo never leaves your device.

Supported Image Formats

Five formats are accepted. JPG, PNG and WebP are compressed with an adjustable quality setting; GIF and SVG take a different route, because they are different kinds of file.

  • JPG / JPEG

    The safest choice for photographs. Lossy compression, so quality control makes a real difference. No transparency, so transparent areas are filled with white.

    Compress a JPG →
  • PNG

    Lossless, so nothing is discarded. Best for screenshots, logos and anything with transparency or sharp edges. Quality settings do not apply, which is why the slider is disabled when PNG is selected.

    Compress a PNG →
  • WebP

    A modern format that is usually smaller than JPG at the same visual quality, and it keeps transparency. Every current browser displays it, so it is a good default for the web.

    Compress to WebP →
  • GIF

    Accepted as an input, and usually worth converting: a still GIF saved as WebP or PNG is dramatically smaller. An animated GIF is refused rather than flattened, because a browser can decode one but cannot write one back.

    Compress a GIF →
  • SVG

    A vector, so it is optimised rather than re-encoded: comments, editor metadata, unreferenced ids and over-precise coordinates are removed, and the file stays an SVG. The drawing itself is not touched.

    Compress an SVG →

How Image Compression Works

Compression comes in two families, and knowing which one you are using explains why a file sometimes refuses to shrink.

Lossy compression: JPG and WebP

JPG and WebP store an approximation of the image. The encoder discards detail the human eye is least likely to notice, and the quality setting controls how much it is allowed to throw away. This is why a photograph at 80% quality can be a quarter of the size of the original and still look the same on a screen.

Lossy compression is not reversible. Once the detail is gone, re-saving at a higher quality will not bring it back, and re-encoding an already compressed JPG adds a second round of damage without removing much extra data. That is why an already-compressed file sometimes grows when you compress it again.

Lossless compression: PNG

PNG is lossless: the image that comes out is pixel-for-pixel identical to the image that went in. It saves space by storing the data more cleverly, not by discarding anything. That is excellent for screenshots and diagrams, and it is why PNG is a poor choice for photographs — a photo saved as PNG is often several times larger than the same photo saved as JPG.

Because PNG cannot trade quality for size, the quality slider has no effect on it. The tool disables the slider rather than leaving it looking functional, and the honest way to shrink a PNG is either to reduce its dimensions or to convert it to WebP.

Why dimensions matter more than quality

Halving the width and height of an image reduces its pixel count to a quarter, and that usually saves more than any quality setting. A 4000 pixel-wide photo displayed at 1200 pixels is carrying more than ten times the detail it needs. If you know where the image will be shown, capping its dimensions is often the single most effective step.

What this tool does with your file

Your image is read from your disk into the page, drawn onto a canvas at the target size, re-encoded by your browser, and handed back as a new file. The original is untouched. Every output is inspected to confirm it really is the format you asked for, and the size comparison you see is measured from the actual bytes rather than estimated.

Frequently Asked Questions

Are my images uploaded to a server?

No. Compression happens inside your browser using the Canvas API. Your file is read from your disk into the page and written back out again when you download it; it is never sent over the network. You can confirm this by disconnecting from the internet once the page has loaded — the compressor keeps working.

Does compressing an image reduce its quality?

For JPG and WebP, yes, a little — that is what makes the file smaller. At moderate settings the difference is usually invisible on a screen. For PNG there is no quality loss at all, because the format is lossless.

What quality setting should I use?

Start at 80%. If you need a specific file size, work downwards in steps of ten and compare the results. The difference between 60% and 50% is often dramatic, while the difference between 95% and 85% is usually invisible.

Why did my compressed file get bigger?

It happens, and this tool tells you when it does. Re-encoding an already-compressed JPG adds a second round of loss without removing much data, and saving a photograph as a lossless PNG can easily produce a larger file than the JPG you started with. When the result is larger, the size is shown honestly and the original may be the better file.

Will compressing change the dimensions of my image?

Only if you ask it to. With the resize option closed, the output keeps exactly the same pixel dimensions as the input. If you set a maximum width or height, the image is scaled down to fit — never enlarged — and the result records that it was resized.

Can I compress several images at once?

Yes. Select as many files as you like and they are processed one at a time with a progress bar. Each file gets its own result card, its own success or failure, and its own download button, so you always know which output belongs to which input.

Is there a file size limit?

A single image may be up to 40 MB, with no more than 40 megapixels and neither side longer than 20,000 pixels. These limits exist to protect your browser: beyond them the raw pixel data would not fit in the memory a tab is normally given.

Which formats can I upload?

JPG, PNG and WebP. Those are the formats every current browser can both read and write, which is what makes local processing possible. GIF, HEIC, AVIF and SVG are not supported, and the tool will tell you so rather than quietly producing something you did not ask for.

Preview