Image Compressor

Drop in a photo and get a smaller one. The compression happens on your own device using the browser's image engine, so the file is never uploaded to anybody, including me.

Never uploaded Resize and convert No file limit
JPEG, PNG or WebP. Nothing is uploaded.
Images wider than this are scaled down. Aspect ratio is kept.
-
smaller
Original size-
New size-
Original dimensions-
New dimensions-

Why the file never leaves your device

Most online image compressors upload your photo to a server, process it there and send it back. That means handing your image to a company you know nothing about, which is a poor idea for anything containing documents, people or business information.

This one uses the canvas element in your browser. The image is decoded, drawn at the new size and re-encoded entirely on your own machine. You could disconnect from the internet after the page loads and it would still work. Nothing is transmitted, nothing is stored, and I never see the file.

The two things that shrink a file

Resizing removes pixels, and it is by far the bigger win. A modern phone photo is often 4000 pixels wide. Nothing on the web needs that. Scaling to 1600 pixels drops the pixel count by roughly 84 percent before any compression is applied.

Quality controls how aggressively JPEG discards information the eye is unlikely to notice. Between 100 and about 75 the change is usually invisible while the file gets dramatically smaller. Below 60 you begin to see blocky patches around edges and in smooth gradients like skies.

Do both. Resize first, then compress. Most people only reduce quality, keep the full 4000 pixel width, and wonder why the file is still large.

Which quality setting to use

SettingUse it for
90 to 100Print, or an image that will be edited again later
75 to 85Website images and blog photos. The sensible default.
60 to 75Thumbnails, email attachments, WhatsApp
Below 60Only when a hard size limit forces it

Choosing a format

  • JPEG for photographs. Decades of universal support and very efficient on continuous tone images. No transparency.
  • WebP for the web today. Typically 25 to 35 percent smaller than JPEG at visually equivalent quality, supports transparency, and is supported by every current browser.
  • PNG for logos, screenshots of text, diagrams and anything needing transparency. It is lossless, so it stays sharp but the files are much larger. Never use PNG for a photograph.

Note that converting to JPEG flattens transparency onto a white background, because JPEG has no way to store it. If your image has transparent areas you need to keep, use WebP or PNG.

The Indian form upload problem

Plenty of government and examination portals impose limits like "photo must be under 50 KB" or "document between 20 KB and 200 KB", which is exactly what this tool is useful for. Set the maximum width to something modest, then lower the quality until the new size lands inside the range. Watch the new size figure as you drag.

Two practical warnings. Some portals also specify exact pixel dimensions, so read the instructions rather than only the file size. And compression is not reversible, so keep your original. Once detail is discarded, no tool brings it back.

What compression removes besides pixels

Re-encoding through canvas drops the image metadata, including EXIF data such as GPS coordinates, camera model and timestamp. For privacy that is a bonus, since holiday photos frequently carry the exact location they were taken. If you need that metadata preserved, this is the wrong tool.

Common questions

Is my image uploaded to a server?

No. Compression happens in your browser using the canvas element. The file never leaves your device. You can load the page, go offline, and it still works.

What quality setting should I use?

Around 75 to 85 for web images, which is usually visually indistinguishable from the original at a fraction of the size. Go lower only when a hard file size limit forces you to.

Why is resizing more effective than lowering quality?

Because file size scales with pixel count. Halving the width and height quarters the number of pixels before compression even starts. Most oversized images are oversized in dimensions, not in quality setting.

Should I use WebP or JPEG?

WebP is typically 25 to 35 percent smaller at equivalent quality and is supported by all current browsers, so it is the better choice for a website. Use JPEG if the file has to work in older software or be opened by someone with an unpredictable setup.

Does it remove the location data from my photo?

Yes. Re-encoding drops all EXIF metadata, including GPS coordinates, camera details and timestamp. That is usually desirable for privacy, but it means you cannot use this tool if you need that data kept.

Can I compress several images at once?

Not currently. One at a time. The processing is fast enough that a handful is quick, but a hundred would be tedious.