Compress images
Make JPG, PNG, WebP and AVIF images smaller and compare the result side by side, right in your browser. Nothing is uploaded.
Drop images here
Or choose them from your device. Your images stay on this device.
JPG, PNG, WebP, AVIF · up to 100 MB per image, 50 images
How to compress images
- Select Choose files or drop your images on the page.
- Pick the Format and Quality; optionally limit the Longest side.
- Select Compress image, then drag the divider over the image to compare before and after (or focus it and use the arrow keys).
- Download each image, or all of them as one ZIP file.
Options
- Format
- “Same as input” keeps each image’s format. WebP and AVIF usually give smaller files than JPG for a similar look; AVIF is the smallest but slowest to create. PNG is lossless.
- Quality
- 0–100 for JPG, WebP and AVIF (default 75). Not used for PNG, which is optimized without changing a pixel.
- Longest side
- “Keep the size” by default, or 3840, 2560, 1920, 1280 or 1024 px. Scales larger images down so their longest side fits, keeping the proportions; images that are already smaller are not enlarged.
- Remove metadata
- On by default: the compressed images carry no location, camera or date details. Turn it off to keep them; this works only when a JPG stays a JPG, and other images are saved without them.
Smaller files, same look
Lossy formats store what the eye notices and drop fine detail it doesn’t; the Quality setting decides how much. Photos taken sideways are turned upright, so they look right in every app. If compressing would not make an image smaller, and its size wasn’t reduced with Longest side, the original is kept in its own format and the list says so.
Formats and limits
- Input
- JPG, PNG, WebP and AVIF.
- Size
- Up to 100 MB per image and 50 images at a time, and up to 120 megapixels per image (50 on phones and tablets).
- Output
- Named after the original with -compressed added, e.g. photo-compressed.jpg; several images also as one ZIP, images-compressed.zip.
Troubleshooting
- “Already well optimized, original kept.” The result wasn’t smaller, so you get the original, even if you chose another format. With Remove metadata on, its metadata is still removed (AVIF originals are returned unchanged). For a smaller file, lower the quality, choose WebP or AVIF, or reduce the longest side.
- AVIF takes a long time. AVIF encoding is slow: about 30 seconds per 12-megapixel photo on a fast computer, and longer on a phone. WebP is about six times faster and usually still much smaller than JPG.
- “The limit on this device is … megapixels.” Very large images need more memory than the browser can safely use here. Use a desktop browser or a smaller image.
How your data stays private
Everything happens in your browser, on your device. Your files and text are never uploaded, never stored, and never put in the address bar.
- The site’s security policy (
connect-src 'self') tells your browser to block any attempt by the page to send data to another server. - Only your preferences, such as the theme and a tool’s last-used options, are saved in your browser’s local storage. Never your content.
- To check it yourself, open your browser’s developer tools, select the Network tab, and use the tool: no request carries your data.
There is no account, no sign-up and no watermark. After your first visit, pages open without a connection; a tool’s larger parts, such as the PDF and image engines, are saved the first time you use it, so it works offline from then on.
Frequently asked questions
How do I compress an image to 100 KB (or another target size)?
There is no target-size setting: lower the Quality slider and compress again until the size shown next to the image is under your target. For a big drop, also set Longest side to 1920 or 1280 px, or choose WebP, which is often noticeably smaller than JPG for a similar look.
Does compression reduce quality?
JPG, WebP and AVIF compression removes fine detail; at the default quality of 75 the difference is usually hard to spot, and lower settings show more artifacts. Drag the divider over the image to compare. PNG compression is lossless: the pixels stay exactly the same, only the file is stored more efficiently.
Can I compress without losing quality?
Truly lossless only with PNG: keep PNG images as PNG and the pixels don’t change. For photos, quality 90 or higher keeps differences very hard to see, though it is still lossy. If a compressed file wouldn’t be smaller than the original and nothing was resized, the original is kept.
Is it safe to compress images online?
Here, yes: the images are compressed in your browser, on your device. Nothing is uploaded or stored, and the site’s security policy blocks the page from sending data to other servers.
Can I compress many images at once?
Yes, up to 50 at a time. Each image shows its own saving, the total is shown at the end, and you can download them one by one or all as a ZIP file.
Related tools
- Resize ImageResize images to exact pixels or a percentage, or crop them to a shape, right in your browser. Nothing is uploaded.
- Convert ImageConvert HEIC, WebP, PNG, JPG, AVIF, GIF and BMP images to JPG, PNG, WebP or AVIF, right in your browser. Nothing is uploaded.
- Remove EXIF DataSee and remove the hidden location, camera and date details in your photos, right in your browser. Nothing is uploaded.
- JPG to PDFTurn JPG, PNG and other images into one PDF, one page per image, right in your browser. Nothing is uploaded.