Skip to content
Devbench

Image Optimizer

Compress and convert PNG, JPG, WebP, AVIF, GIF and SVG images in your browser.

Drop images here, or paste with Ctrl/⌘+V

SVG, PNG, JPG, WebP, AVIF, GIF, BMP · up to 50 files at once · 25 MB each (SVG 2 MB)

Images are processed in your browser and never uploaded.

How to use

  1. Drop an image, choose a file, or paste one with Ctrl/⌘+V. SVG markup can also be pasted as code.
  2. For PNG, JPG, WebP, AVIF and GIF: pick an output format, adjust quality and optionally reduce the width.
  3. For SVG: the file is minified with SVGO; tune precision and other options if needed.
  4. Compare the before and after previews and file sizes, then download the optimized image.
  5. Have many images? Select or drop up to 50 at once, apply the same settings to all, and download them as a ZIP.

Frequently asked questions

Are my images uploaded to a server?

No. Images are compressed by your browser and SVGs are optimized with SVGO on your device. Nothing is sent to our servers.

Which format should I choose?

WebP is the best all-round choice for the web and is supported by every modern browser. AVIF is usually even smaller but slower to encode. Use JPG for maximum compatibility and PNG when you need lossless quality.

Why is my PNG not getting smaller?

PNG is lossless, so re-saving it rarely saves much. Converting to WebP or AVIF, or reducing the width, typically cuts the size dramatically.

Does it remove metadata?

Yes. Re-encoding removes EXIF metadata such as camera details and GPS location from photos.

Can I optimize several images at once?

Yes. Select or drop up to 50 images together. The same format, quality and maximum width apply to all of them, and you can download each file or everything as a single ZIP.

What are the file size limits?

Raster images up to 25 MB each and SVG files up to 2 MB. Very large images are scaled down to fit your browser's canvas limits.

CSS

CSS Gradient Generator

Build linear and radial gradients with multiple color stops and copy the CSS.

Text

Text Diff Checker

Compare two texts and see added, removed and changed lines with word-level highlights.

Image

Image to Text (OCR)

Extract text from screenshots, photos and scanned images with OCR, right in your browser.

Text

Text & Code Minifier

Minify text, JSON, CSS, HTML and JavaScript, with automatic language detection.