Image Compressor
How to compress an image
Drop, choose, or paste up to 50 images (JPEG, PNG, WebP, GIF, or BMP, up to 50 MB each). Pick a mode: Quality (default 80), Target size (default 200 KB), or Lossless (only PNG output is truly lossless; WebP and AVIF are saved at quality 100 and JPEG at the browser's default quality). Tick one or more output formats (JPEG and WebP by default) and, if needed, limit the size with a max-width preset (800, 1280, 1920, or 2048 px) or your own max width and height; the aspect ratio is kept and images are never enlarged. Files are compressed as soon as they are added and again whenever you change a setting. Drag the divider to compare the original and compressed image, and download each file or all of them. The browser decodes each image and re-encodes it with its built-in encoders. Your settings are stored in the page URL, so a bookmarked link reopens with the same settings.
Compress an image to 100 KB, 200 KB, or any size
In Target size mode, enter the limit in KB. For JPEG, WebP, and AVIF the tool binary-searches the quality range 0–100 with up to 10 encodes per format and keeps the highest quality whose file is at or under the limit. PNG has no quality setting, so it is encoded once and flagged if it is still too large. If even quality 0 is over the limit, the tool shows the smallest result and suggests resizing: halving the width and height cuts the pixel count to a quarter, which usually brings a large photo well under 200 KB.
JPEG, PNG, WebP, or AVIF: which format to choose
For photos, WebP is usually smaller than JPEG at the same visual quality, and AVIF smaller still. Use JPEG when the file must open everywhere, such as email attachments, government upload forms, or old software. Use PNG for screenshots, logos, line art, and anything with sharp edges or transparency, since lossy formats blur edges. JPEG has no transparency, so transparent areas become black when you save a PNG as JPEG. Animated GIFs are reduced to their first frame. Ticking several formats lets you compare the actual file sizes before choosing.
EXIF and GPS data are removed
Phone and camera photos carry EXIF metadata such as the capture time, camera model, and GPS coordinates. Because each image is redrawn on a canvas and re-encoded, the output contains only pixel data: the original EXIF block, including location, is not copied into the compressed file. If you only want to remove metadata without re-compressing, use the EXIF Viewer & Remover instead.
FAQ
How do I compress an image to 100 KB or 200 KB?
Choose Target size mode, enter 100 or 200 in the KB field, select JPEG or WebP as the output, and the file is compressed right away. The tool tries up to 10 quality levels and keeps the highest one that fits. If the result is still too large, set a max width such as 1280 or 1920 px and the result updates on its own.
Which format makes the smallest file?
For photos, AVIF is usually smallest, then WebP, then JPEG. AVIF output is only offered if your browser can encode it. For screenshots and graphics with large flat areas, PNG can be smaller than lossy formats and keeps edges sharp. Tick several formats to see the real sizes side by side.
Why is my PNG barely smaller, or even larger, after compression?
PNG is lossless, so re-encoding can only remove encoding inefficiency, not detail. The browser's PNG encoder does not try as hard as tools such as oxipng, so an already optimized PNG may come out larger. To reduce a photo saved as PNG, convert it to JPEG or WebP; to shrink a screenshot, try resizing it.
Why did the transparent background turn black?
JPEG does not support transparency, and the browser fills transparent pixels with black when encoding a JPEG. Choose PNG or WebP output to keep the transparent background.
Why is the AVIF option disabled?
When the page loads, it checks whether your browser's canvas can encode AVIF. Many browsers can display AVIF images but cannot create them this way, so the checkbox is disabled there. JPEG, PNG, and WebP output work in all current browsers.
Why can't I add HEIC, TIFF, or SVG files?
The tool accepts JPEG, PNG, WebP, GIF, and BMP only, and marks HEIC/HEIF, TIFF, and SVG files as unsupported. To compress iPhone HEIC photos, export them as JPEG first, or set Settings › Camera › Formats › Most Compatible so new photos are saved as JPEG.
Can I compress an image without losing quality?
Only with PNG output in Lossless mode, which keeps every pixel; on photos it saves little and can even make the file larger. JPEG, WebP and AVIF always discard some detail, more at lower quality. Drag the divider over the preview to compare the original and the compressed image at full size before you download.
Related tools
Related articles
- Strip, Don't Re-encode: How to Actually Remove EXIF Without Touching a Pixel
Re-saving a photo to strip metadata re-compresses every pixel. Walking JPEG markers and PNG chunks does not. A byte-level tour of EXIF and GPS removal.