Image Compressor
Reduce image file size two ways: drag a quality slider, or name a target size such as 100 KB and let the tool search for the quality that lands under it. You can also cap the maximum width, which is usually the fastest way to shrink a photo for the web. The before-and-after size and the percentage saved are shown before you download. Everything runs client-side, so nothing is uploaded and there is no daily limit.
Drop an image to compress
or click to browse — you can also paste with Ctrl/Cmd+V
PNG, JPG, WebP, GIF, AVIF, or SVG — nothing is uploaded
Your image is processed in this browser tab with the Canvas API. It is never uploaded, stored, or sent to a server.
How to Use Image Compressor
- Drop the image you want to make smaller.
- Choose 'By quality' for manual control, or 'To target size' and type a KB target.
- Optionally set a maximum width to shrink large photos further.
- Pick JPG, WebP, or PNG output.
- Press Compress image, check the saving, then download.
Frequently Asked Questions
- How do I compress an image to exactly 100 KB?
- Switch to 'To target size', type 100, and press Compress. The tool binary-searches the JPG or WebP quality until the result fits under 100 KB, then reports the quality it used.
- Does compression reduce quality?
- JPG and WebP are lossy, so heavy compression softens fine detail. Between 70% and 85% quality most photos look identical at normal viewing size while the file gets 60-80% smaller.
- Why is my PNG barely smaller?
- PNG is lossless, so quality settings do not apply. To shrink a PNG photo, convert it to JPG or WebP, or reduce the maximum width.
- Is there an upload limit?
- No. Compression happens in your browser with the Canvas API, so there is no server, no queue, and no cap on how many images you process.
Related Tools
Image Resizer
Resize an image to any width and height in your browser. Free online image resizer with aspect-ratio lock, percentage presets, and PNG, JPG, or WebP output.
Image Converter (PNG, JPG, WebP)
Convert images between PNG, JPG, and WebP in your browser. Free bulk image converter — drop several files at once, no upload, no signup.
Image Cropper
Crop an image online with a draggable box and aspect-ratio presets for 1:1, 16:9, 4:5, and more. Free, browser-based, no upload.
Image to Base64
Convert an image to a Base64 data URI, HTML <img> tag, CSS background, or Markdown snippet. Free browser-based encoder.
About Image Compressor
Compress JPG, PNG, and WebP images in your browser. Set a target size in KB or pick a quality level and cut file size by up to 90%. This tool runs entirely in your browser, so your content is not sent to a server. MarkdownMe provides free, fast, and reliable Markdown tools for developers, writers, and anyone who works with Markdown.