Image compressor

Make photos and graphics smaller for email, websites and forms. Choose a quality and a maximum width, compare the size before and after, and download the result.

JPG, PNG or WebP. Up to 20 images of 25 MB each.

Lower means a smaller file. 70 to 80 suits most photos. PNG ignores quality: it only shrinks when resized or converted.

Wider images are scaled down. Leave blank to keep the size.

Compressed images

Your compressed images will appear here.

      Compressed in your browser. Your images are never uploaded.

      Last updated:

      How it works

      Each image is opened by your browser, rotated the way the camera recorded it, drawn on a canvas at the new size and saved again with the quality you chose. Images wider than the maximum width are scaled down and keep their proportions; smaller images are never enlarged. JPG and WebP use the quality setting; PNG is lossless, so it only gets smaller when it is resized or converted. If the new file would be larger than the original at the same size and format, the page keeps the original and tells you.

      Example: a 4000 × 3000 photo with a maximum width of 1920 becomes 1920 × 1440. If the original is 6,000,000 bytes (5.72 MB) and the new file is 2,073,600 bytes (1.98 MB), the page shows 65% smaller. Sizes use 1 KB = 1,024 bytes, as file managers do.

      Big images slow down websites, bounce off email size limits and get rejected by upload forms. A phone photo is often 3 to 6 MB at 4000 pixels wide, far more than a screen needs. This compressor shrinks images right in your browser, so you get smaller files without uploading anything.

      How to use it

      1. Choose your images or drop them on the box. You can add up to 20 JPG, PNG or WebP files of up to 25 MB each.
      2. Pick a quality. 75 is the default and a good starting point for photos.
      3. Set a maximum width in pixels, or leave it blank to keep the original size. 1920 pixels is the default and is enough for a full-screen image on most monitors.
      4. Choose whether to keep the same format or save everything as JPG or WebP.
      5. Download each image with its button. The new file has -min added to its name, so it does not overwrite the original.

      If you change the quality, width or format after adding images, they are all compressed again with the new settings.

      Quality and size

      JPG and WebP are lossy formats: they throw away detail the eye is unlikely to notice. The quality setting controls how much. Lower values make smaller files but can add blur and blocky edges, especially around text and sharp lines.

      UseSuggested qualitySuggested max width
      Website photo70-801600-1920
      Email or messaging701280
      Thumbnail or preview50-60400-600
      Image you will edit or print90-100Blank

      Resizing usually saves more than lowering quality. Halving the width removes three quarters of the pixels, so a 4000 × 3000 photo resized to 1920 × 1440 has less than a quarter of the original pixels before compression even starts.

      The result list shows the size before and after for each image and the percentage saved, plus a total for the batch. When re-encoding an image at the same size and format would make it bigger, which happens with files that were already well compressed, the page keeps the original and says so.

      Formats

      • JPG is the universal format for photos. It has no transparency, so transparent areas become white when you convert a PNG to JPG.
      • PNG is lossless and supports transparency. It suits screenshots, logos and diagrams, but photos saved as PNG are huge.
      • WebP can be lossy or lossless, supports transparency and is usually smaller than JPG. All current browsers display it.

      The compressor reads the orientation recorded by your phone camera, so portrait photos stay upright after compression.

      Privacy and metadata

      The images never leave your device: decoding, resizing and encoding all happen in your browser, and downloads are created locally. That makes the tool suitable for ID scans, documents and family photos.

      Photos often carry hidden metadata, including the date, the camera model and the exact GPS location where they were taken. The Indiana Office of Technology’s cybersecurity team notes that some social networks strip this data but messaging apps and personal websites may not. Because the compressor redraws only the pixels, the new files do not carry that metadata. If an image is shown as already optimized and the original is kept, its metadata is kept too.

      Tips for websites and forms

      • Upload forms often state a limit such as 2 MB or 5 MB. A maximum width of 1600 to 1920 at quality 75 brings most phone photos well under that.
      • For a website, resize to the largest width the image is actually shown at. A photo shown 800 pixels wide does not need 4000 pixels.
      • Scanned documents stay readable at quality 80 or more; check the small print in the download before you submit it.

      Limits

      The tool works with what your browser can decode and encode. HEIC photos from iPhones and animated GIFs are not supported; save them as JPG or PNG first. Very large images can be slow on older phones because each one must fit in memory while it is processed. Compression is a one-way trip, so keep your originals.

      Frequently asked questions

      Are my images uploaded to a server?

      No. The whole process runs in your browser: the images are read from your device, compressed in memory and offered back as downloads. Nothing is sent over the network, which also means it works with private photos and documents.

      What quality should I choose?

      For photos, 70 to 80 is a good balance: the file shrinks a lot and most people cannot tell the difference on screen. Go lower for thumbnails or previews, and use 90 or more when you plan to edit or print the image. Compare the download with the original if the image matters.

      Why didn't my PNG get smaller?

      PNG is a lossless format, so the quality slider does not apply to it. A PNG only shrinks here when it is wider than the maximum width or when you save it as JPG or WebP. Screenshots and logos with flat colors are often already efficient as PNG; photos saved as PNG shrink a lot when converted to JPG.

      Does compression remove the location from my photos?

      Usually yes. The new file is drawn from the pixels only, so camera details and GPS location stored in the original are not copied. The exception is when the page keeps your original because it was already smaller: that file is unchanged, metadata included.

      Is there a limit on how many images I can compress?

      Up to 20 images at a time, each up to 25 MB. They are processed one after another to keep memory use low on phones. Use Clear all to start a new batch.

      Which format should I save as: JPG or WebP?

      WebP files are usually smaller than JPG at similar quality and work in all current browsers, which makes them a good choice for websites. JPG is the safest choice for email attachments, forms and older software. If your browser cannot write WebP, it saves a PNG instead and the file name shows it.