Image Compressor
Make image files smaller — by quality or a target size in KB/MB — with optional dimension shrinking and high-quality resampling. Metadata is stripped automatically and nothing is uploaded.
Tip: paste with Ctrl/⌘ + V · metadata (EXIF) is stripped automatically · nothing is uploaded.
How to compress an image online
- 1
Drop, browse, or paste an image (PNG, JPG, WebP or HEIC).
- 2
Pick an output format — WebP usually gives the smallest files, JPG for photos, PNG for lossless.
- 3
Choose "By quality" and drag the slider, or "Target size" and enter a maximum in KB or MB.
- 4
Optionally shrink the dimensions too, with Lanczos-quality resampling.
- 5
Watch the savings update live, then download your smaller image.
About the Image Compressor
Large images slow down websites and fill up storage. The compressor shrinks JPG, PNG and WebP files either to a quality level you choose or to a target size in KB or MB, with an optional resize to cut the dimensions too. WebP usually produces the smallest files, metadata is stripped automatically, and everything happens locally so your originals never leave your device.
Quality mode vs. target size
There are two ways to shrink an image, and they suit different goals. By quality lets you drag a slider and watch the file size respond — ideal when you simply want a smaller file and care about how it looks. Target size works backwards: you enter a maximum in KB or MB and the compressor automatically finds the highest quality that still fits underneath. That second mode is the one you want when something else dictates the limit — an upload form that rejects anything over 100 KB, an email attachment cap, or a page-speed budget. There's a step-by-step walkthrough in our guide on compressing an image to a specific file size.
When to also reduce the dimensions
For gentle savings, lowering quality alone is plenty. But if you're aiming for a very small target on a large, detailed photo, quality reduction starts to show before you reach the limit. The bigger lever is dimensions: a 4000-pixel-wide photo holds far more data than any web page or form actually needs, so shrinking it — with the same high-quality resampling used by the resizer — gets you under the limit while still looking clean. The compressor can do both in one pass.
Format and privacy notes
WebP typically produces the smallest files at a given quality, JPG is the most compatible for photos, and PNG stays lossless for graphics that can't afford artifacts. Camera and phone metadata (including location tags) is stripped during compression, which trims a little extra size and removes information you probably don't want to publish. As with every tool here, the image is processed entirely in your browser — useful when the file is a personal document or ID photo. Not sure which format to pick? See JPG vs PNG vs WebP.
Frequently asked questions
Does compressing reduce image quality?
Lossy formats (JPEG and WebP) trade a little quality for a much smaller file — you control how much with the quality slider, or by setting a target size. PNG is lossless, so its pixels are kept exactly.
What's the difference between 'By quality' and 'Target size'?
Quality mode lets you pick a quality level directly. Target size mode automatically lowers the quality until the file fits under a size you choose, such as 200 KB.
Which format gives the smallest file?
WebP usually produces the smallest files at good quality. JPEG is the most compatible choice for photos, and PNG keeps transparency but is lossless (larger).
Are my images uploaded to a server?
No. Compression runs entirely in your browser using the Canvas API, so your files never leave your device.
How do I compress an image to an exact size like 100 KB?
Choose Target size, enter your limit in KB or MB, and the compressor finds the highest quality that fits under it. For large photos, also enable resize to reach very small targets.
Does compressing remove image metadata?
Yes. EXIF data such as camera details and GPS location is stripped during compression, which trims a little extra size and removes information you may not want to share.