Home/Other/Image Compressor
Other

Image Compressor

Drop an image here
or click to choose — JPG, PNG, WebP · stays on your device
KB
px
About this tool

Compress images to a target size — right in your browser

This Image Compressor shrinks JPG, PNG and WebP files to a target size — say, under 100KB for a visa application or a job portal upload — entirely inside your browser. Your image is never uploaded anywhere: the compression runs locally on your device using the browser's own graphics engine, so it works offline and your photos stay private.

Set an optional target size in KB and the tool automatically finds the best quality level that fits under it. Add a max width to downscale oversized photos (a 4000px camera photo rarely needs more than 1920px on the web), and choose the output format — WebP usually gives the smallest files, JPG is the most universally accepted, PNG stays lossless.

When to compress images

  • Web pages — smaller images are the single biggest page-speed win; aim for under 200KB per image
  • Application forms — government portals and job sites often cap uploads at 100KB or 200KB
  • Email attachments — stay under provider limits without a zip file
  • Storage — archive photo collections at a fraction of the size

Example

A phone photo is 3.2MB at 4032×3024, and a form requires max 100KB.

Set target size to 100, max width to 1200, format JPG. The tool downscales to 1200×900 and finds the quality level that lands just under 100KB — typically with barely visible quality loss at screen size.

FAQ

Frequently Asked Questions

How do I compress an image to 100KB?

Drop your image into the tool above, type 100 in the target size field, and click Compress. It automatically finds the highest quality that fits under 100KB. If the result looks too degraded, also set a max width (e.g. 1200px) — downscaling first lets the compressor keep more quality per pixel.

Is this image compressor safe for private photos and documents?

Yes — your image never leaves your device. Unlike most online compressors, nothing is uploaded to a server: the compression happens locally in your browser using the HTML5 canvas engine. You can even disconnect from the internet after the page loads and it still works.

How does image compression work?

Lossy formats like JPEG and WebP discard visual detail the human eye barely notices — fine color variations, high-frequency texture — and encode the rest more efficiently. A quality setting controls how aggressive this is. Lossless formats like PNG only remove redundancy, which is why PNG files can't be forced under an arbitrary size.

Which format is smallest — JPG, PNG or WebP?

For photos, WebP is typically 25–35% smaller than JPG at the same visual quality. PNG is usually the largest for photos because it's lossless — but it's the right choice for screenshots, logos and graphics with sharp edges or transparency. If the destination accepts WebP, use it; if unsure, JPG is universally accepted.

Why does compressing to a small size make my image blurry?

There's a floor to how much detail a given pixel count can hold. If 100KB looks bad at 4000px wide, the fix is to reduce dimensions first — a 1200px image at higher quality almost always looks better than a 4000px image crushed to the same file size, especially on screens.

Does compressing an image reduce its dimensions?

Only if you set a max width. Compression alone keeps the same pixel dimensions and reduces file size by lowering encoding quality. Resizing reduces the pixel count itself. The two combined give the biggest savings — this tool does both in one step.

What image size should I use for a website?

For full-width hero images, 1600–1920px wide and under 300KB. For in-content images, 800–1200px and under 150KB. Larger files slow page loads and hurt Core Web Vitals (LCP), which affects your Google ranking. WebP with sensible dimensions typically achieves both easily.

Does compression remove EXIF data from photos?

Yes. Because the image is redrawn onto a canvas before encoding, metadata — GPS location, camera model, timestamps — is stripped from the output file. That's usually a privacy win when posting photos online, but keep the original if you need the metadata.

Can I compress a PNG to a specific size?

Not reliably — PNG is lossless, so there's no quality dial to trade against size. If you need a PNG under a specific size, reduce its dimensions with the max-width option. If transparency isn't needed, switching the output to WebP or JPG gives far smaller files.

Why is my JPG's transparent background turning white or black?

JPG doesn't support transparency, so transparent regions must be filled with a solid color — this tool fills them with white. If you need transparency preserved, choose PNG or WebP as the output format.

How do I compress an image for email?

Most email providers cap attachments at 20–25MB total, but recipients appreciate much smaller. Set a max width of 1600px and a target of 500KB per photo — plenty for viewing on any screen. Compressing before sending also avoids the automatic (and often uglier) recompression some clients apply.

Does compressing an image lose quality permanently?

The compressed copy permanently contains less information — you can't restore detail by 're-compressing at higher quality'. But this tool never modifies your original file: it produces a new downloaded copy, so your source image stays untouched on your device.