Compress Image to KB
Shrink images under an exact size like 20 KB, 50 KB or 200 KB for forms and uploads.
Compress JPG, PNG, WebP and SVG images in seconds with a fast, browser-based image compressor. It's private and free: your images are optimized on your device and never uploaded.
How it works
Drag and drop your images, click to browse, or paste from your clipboard. You can add many files at once.
Choose Lossless to keep every pixel, or Lossy and set the quality to make files much smaller.
Check the saving next to each file, then download images one by one or all together as a zip.
About this tool
Images are usually the heaviest part of a web page. Large, unoptimized photos slow down loading, waste mobile data and can hurt your Core Web Vitals, which Google uses as a ranking signal. Compressing images before you publish them is one of the quickest ways to make a site faster.
Lossless compression shrinks a file without changing a single pixel. It re-encodes PNGs more efficiently, removes hidden EXIF, XMP and comment data from JPEGs (keeping the colour profile and orientation) and cleans redundant markup out of SVGs. Lossy compression goes further: it reduces the colour palette of PNGs, re-encodes JPG and WebP files at the quality you choose and rounds SVG coordinates. At quality 70–80 most people can't tell the difference, and the file is often 50–80% smaller.
Add as many images as you like. There's no daily cap or file-size limit beyond what your device's memory can handle.
Compression happens in your browser, so your images are never sent to a server. No account, no watermark.
One tool for the formats you use on the web, including animated PNGs and vector SVG files.
Keep every pixel, or set a quality level and trade a little detail for much smaller files.
If a file is already optimized and can't get smaller, you get the original back instead of a larger copy.
Save files one by one or grab every compressed image in a single zip.
FAQ
Lossless compression makes a file smaller without changing how it looks: the decoded pixels are identical. Lossy compression removes detail the eye barely notices, which gives much bigger savings. For photos on a website, lossy at quality 70–80 is usually the best balance.
It depends on the image. PNG screenshots and graphics often shrink 20–70%, JPEG photos 30–80% in lossy mode, and SVG files exported from design tools 10–50%. The tool shows the exact saving for every file.
No. This tool runs entirely in your browser using JavaScript. Your files and text never leave your device, so it's safe for private or confidential work.
No. The width and height stay the same. To change dimensions, use the Image Cropper or the Image Converter's scale option.
Switch to Lossy and lower the quality until the result is under your target. Each file shows its new size as soon as it's compressed, so you can adjust and re-run instantly.
Once the page has loaded, compression runs on your device, so it keeps working even if your connection drops.
Missing something?
Instant.tools grows from real requests. Describe the task you're stuck on and we'll consider building it next.