Image Compressor and Converter (JPG, PNG, WebP)

Runs in your browser: nothing you enter or choose is uploaded.

Choose several at once if you like. They stay on your device.

Lower means smaller files and softer detail. PNG is lossless and ignores it.

Resize (optional)

This image compressor makes photos and screenshots smaller without uploading them. Choose one or more images, pick JPEG, WebP or PNG, set a quality, and optionally a maximum width or height. You get the new size, how much you saved and a download link for each file.

It runs in your browser. Re-saving the image also drops its hidden EXIF details, including any location.

How to use the image compressor

  1. Select Choose images and pick one or more JPEG, PNG, WebP or GIF files. For a GIF, only the first frame is kept.
  2. Under Save as, choose JPEG for photos you want to send anywhere, WebP for images on a website, or PNG for screenshots, logos and anything with sharp text.
  3. Move the Quality slider. 80% is a sensible start for photos; lower means smaller files and softer detail. PNG ignores it, because PNG is lossless.
  4. Optional: open Resize (optional) and enter a Max width or Max height in pixels. The image keeps its shape and is never made bigger.
  5. Select Compress images. Choosing new files runs it straight away too.
  6. Check each result: the old and new size, the percentage saved and the dimensions. Then select Download under each image you want to keep.

If a result says Bigger, keep the original, the file was already well compressed. Keep the original, or try a lower quality, WebP, or a smaller maximum width.

What the compressor does to your image

Your browser opens the image, draws it onto a hidden canvas at the size you chose, and saves the canvas again in the format you picked. This uses standard browser features, so there is no server involved and nothing to install.

  • Quality is passed to the browser’s JPEG or WebP encoder as a value between 0 and 1. MDN’s documentation notes that it applies only to lossy formats and is ignored for PNG.
  • Resizing often saves more than quality does. A phone photo is usually far wider than any blog column or email preview, so a smaller maximum width cuts the file size a lot.
  • Rotation is handled for you where the browser supports it: the tool asks the browser to apply the photo’s orientation tag, so a portrait photo stays upright after the tag is gone.
  • Transparency survives in WebP and PNG. JPEG can’t store it, so see-through areas are filled with white.

Re-saving removes EXIF data: camera model, date taken and GPS location are not copied into the new file. If you only want to strip location without re-compressing, use our EXIF remover, which copies the image data unchanged.

JPEG vs PNG vs WebP: which format to choose

Google’s web.dev guide to choosing an image format recommends JPEG for photos and similar images, PNG when you need to keep fine detail exactly, and WebP as a newer format that offers both lossy and lossless compression. In short:

FormatBest forKeep in mind
JPEGPhotos to email, print or upload anywhereLossy and no transparency; every re-save loses a little detail
WebPImages on websites and blogsSmaller files at similar quality in many cases; supports transparency; some older apps can’t open it
PNGScreenshots, logos, diagrams and textLossless, so photos saved as PNG are usually much bigger

If you are unsure, try two formats and compare the sizes in the readout. The compressor shows the result for every file, so it only takes a few seconds to see which one wins for your image.

Compress images for email, WordPress and the web

For email and messages

Choose JPEG, a quality of 70 to 80%, and a maximum width that fits a screen, such as 1600 or 2000 pixels. The photo still looks sharp on a phone or laptop, and several photos fit in one email more easily. Every email service sets its own attachment limit, so check yours if a message bounces.

For WordPress

WordPress makes several smaller copies of each upload, set under Settings → Media as thumbnail, medium and large sizes. Since WordPress 5.3, an uploaded image wider or taller than 2,560 pixels is also scaled down, and the scaled copy gets a -scaled suffix; the original file is still stored on the server.

That means uploading a huge photo wastes storage and upload time. Resize it to about the widest size your theme shows, compress it, then upload. WordPress has accepted WebP uploads since version 5.8. More tips for faster sites are in our guide to speeding up WordPress on shared hosting and on our WordPress hub.

For any website

Big image files make pages slower to load, especially on a phone connection. Use WebP where you can, keep photos no wider than they are displayed, and use PNG only for graphics that need crisp edges.

If it doesn’t work

Windows 11

If the file picker doesn’t show your photos, set the file type box next to the file name to all files, or drag the file onto the file box. iPhone photos copied to a PC are often HEIC files, which most browsers on Windows can’t open: convert them with our HEIC to JPG converter first, then compress the JPGs here.

Android and Samsung Galaxy

When the browser asks where to pick from, choose your gallery or the Files app. If a download seems to vanish, open the Files app (My Files on a Galaxy) and look in Downloads.

iPhone and iPad

In Safari, tap Choose images and pick from the Photo Library or Files. After you tap Download, the file is saved in the Files app, in Downloads unless you changed Safari’s download location.

Mac

Photos exported from the Photos app as HEIC need converting first. Exported JPEGs and PNGs work as they are, and downloads go to the Downloads folder unless you changed it in your browser.

  • A file says it couldn’t be opened: it may be damaged, or a format your browser can’t read. Re-export it as JPEG or PNG.
  • WebP comes out as PNG: some older browsers can’t save WebP. The tool tells you when this happens; update the browser or choose JPEG.
  • Very large images are slow: older phones can take a moment with big photos. Compress a few at a time.

Privacy: your images stay on your device

Many online compressors upload your files to a server. This one doesn’t: the image is decoded, resized and re-encoded by your own browser, and the download links point to files held in your browser’s memory. They are cleared when you run the tool again or close the page. For more ways to keep personal details out of your files and accounts, see our security hub, and for other handy utilities visit the apps hub.

Limitations

  • Animated GIFs become a still image of the first frame.
  • Colour profiles and HDR information may not be kept exactly; check important images before you replace the originals.
  • Re-compressing a JPEG again and again slowly lowers its quality. Start from the best original you have.
  • It doesn’t open HEIC, RAW or SVG files.

Related free tool: our HEIC to JPG converter.

FAQ

Does compressing an image reduce its quality?

With JPEG or WebP, a little: lossy formats drop detail you mostly can’t see. Compare the download with the original at the size people will see it, and raise the quality if you notice blur or blocky edges. PNG is lossless, so it keeps every pixel but saves less space.

Is WebP better than JPEG?

For websites it often is: Google’s web.dev guide says WebP offers better compression and supports transparency. For files you send to other people, JPEG is still the safest choice because every app opens it.

Does this remove location data from photos?

Yes. Re-saving through the canvas doesn’t copy EXIF data, so GPS location, camera details and the date taken are not in the new file.

What size should images be for WordPress?

Roughly as wide as your theme displays them. WordPress scales anything over 2,560 pixels down anyway, so there is no benefit in uploading larger files.

Are my images uploaded anywhere?

No. Everything happens in your browser, and the tool keeps working if you go offline after the page has loaded.

Sources