nicetool.dev logo

Image Compressor

Drop images, pick a format and quality. Everything is processed on your device.

Drop images here or click to choose

JPG, PNG, WebP, GIF, BMP or AVIF. Several files at once are fine.

Why compress images?

Images are usually the heaviest part of a web page. A photo straight from a phone is often 3 to 8 MB and 4000 pixels wide, while a blog or product page rarely needs more than 1920 pixels and 200 KB. Smaller images load faster, improve Core Web Vitals such as Largest Contentful Paint, cost less bandwidth on mobile and rank better in search. Modern formats help a lot: WebP is typically 25 to 35% smaller than JPEG at the same visual quality, and AVIF can be smaller still.

Features

  • • Compress many JPG, PNG, WebP and AVIF images at once
  • • Convert to WebP, AVIF (where the browser supports it), JPEG or PNG
  • • Quality slider and optional maximum width or height
  • • Before and after sizes with the percentage saved
  • • Phone photos keep the right orientation; transparent images get a white background in JPEG

100% in your browser

Images are decoded and re-encoded with the canvas API on your own device. Nothing is uploaded, which keeps private photos private and makes large batches fast.

No upload, no limits, no watermark.

How to use the Image Compressor

  1. 1

    Drop one or more images on the box, or click it to choose files. JPG, PNG, WebP, GIF, BMP and AVIF are accepted.

  2. 2

    Choose the output format: WebP for the best size on the web, AVIF for even smaller files in Chrome and Edge, JPEG for maximum compatibility, PNG for lossless graphics.

  3. 3

    Set the quality (75 to 85 is a good balance for photos) and, if needed, a maximum width or height. Changes are applied to all images instantly.

  4. 4

    Compare the original and new sizes, then download each image. Files keep their name with the new extension.

Practical examples

Faster blog and product pages

Convert hero images and product photos to WebP at quality 80 and max width 1920: a 4 MB phone photo usually drops below 300 KB with no visible difference.

Email attachments and forms

Many forms and email providers limit uploads to 1 or 2 MB. Resize to 1280 px and save as JPEG to fit the limit while keeping the photo readable.

Screenshots and UI images

Screenshots with text compress well as WebP or PNG. Keep PNG when you need pixel-perfect sharp edges, use WebP to cut the size by half.

Preparing images for a CMS

Resize a whole folder of images to the same maximum width before uploading to WordPress, Shopify or a headless CMS, so the server does not store huge originals.

Frequently asked questions

Which format should I choose?+

WebP is the safe default for websites: supported by every modern browser and much smaller than JPEG. AVIF is smaller still but slower to encode and not encodable in every browser. Use PNG for logos and graphics that need lossless quality.

What quality setting is best?+

For photos, 75 to 85 is usually indistinguishable from the original. Go lower for thumbnails, higher for photography portfolios. PNG ignores the quality setting.

Why is my compressed file bigger?+

Re-encoding an already optimized image, or converting a small graphic to a photo format, can grow the file. Try another format or a lower quality, or keep the original.

Are my images uploaded?+

No. Decoding, resizing and encoding happen in your browser with the canvas API. You can even disconnect from the internet after the page has loaded.