Compress Images Online

Shrink a JPG, PNG, or WebP image. Transparency stays transparent, so nothing looks broken.

How much to compress

Compress Image shrinks JPG, PNG and WebP files for email, forms and web pages. Pick a compression level, or aim for a specific file size and let the tool try several quality settings and keep the best-looking one that fits. A PNG with real transparency stays a PNG so it never gets a black background; a fully opaque PNG, such as a screenshot, becomes a JPEG for a much bigger saving. You can compare the original and the result before you download.

What you can do

  • Choose a compression level, or aim for a target size that is applied to each image.
  • Transparent PNGs stay PNG; fully opaque PNGs are converted to JPEG for bigger savings.
  • View the original and the result at full size before you download.
  • Batch: many images at once, packaged into one ZIP.

How it works

  1. 1Drop your JPG, PNG or WebP images onto the page.
  2. 2Under How much to compress, use Choose a level — or switch to Aim for a size and enter a Target size.
  3. 3Click Process File and compare the result with the original.
  4. 4Click Download — several images arrive as a ZIP.

Why use SmilingPDF for this

  • If nothing fits your target, you get the smallest version it managed and are told it fell short.
  • Transparency is respected, so logos don't pick up a background.
  • Images are never uploaded, so you can compress IDs and photos of documents safely.

Private by design

Your file stays on your device.

  • No upload
  • No server storage
  • No account required
  • Browser-based processing
  • No watermark

This tool runs inside your browser tab. Your file is read from your device, processed there, and handed back as a download — it is never sent to a SmilingPDF server, so there is nothing for us to store, read, or lose. You can check for yourself: open your browser's developer tools, switch to the Network tab and run the tool. Like most sites, SmilingPDF uses Google Analytics to count visits and which tools are used; that never includes the contents of your files. The privacy policy lists everything the site does collect.

Related tools

FAQ

Frequently asked questions

Got questions? We've got answers.

How does image compression work?

Your image is decoded in the browser, optionally scaled down, and re-encoded at a lower quality. JPGs and opaque PNGs are converted to JPEG, where quality makes the biggest difference. A PNG with real transparency stays PNG, since JPEG can't store transparency.

Will my transparent PNG lose its transparency?

No. If any pixel in the image is actually transparent, the output stays PNG. Only a PNG that turns out to be fully opaque (a screenshot, for example) is converted to JPEG for a much bigger size reduction.

What does 'aim for a size' do?

It tries several quality settings and keeps the best-looking one that comes in under the size you asked for. If nothing fits, you get the smallest version it managed, and it tells you it fell short.

Can I compress multiple images at once?

Yes — upload as many as you like and they are packaged into a single ZIP. A target size applies to each image individually.

Is my image uploaded anywhere?

No. Everything happens inside your browser, so your images never leave your device.

Your image is decoded in the browser, optionally scaled down, and re-encoded at a lower quality. JPGs and opaque PNGs are converted to JPEG, where quality makes the biggest difference. A PNG with real transparency stays PNG, since JPEG can't store transparency.