Developer tools directory

Developer

Image Optimizer

Compress images for the web. Adjust quality and dimensions, then compare original and output file sizes.

Open tool

Process locally · Copy or download your output.

Optimize for the web

JPG, PNG or WebP · Up to 20 MB. Files stay in your browser.

Original

Choose an image to begin

Output

Generate an output to compare

Inspect fine details and text in your downloaded image. Re-encoding removes source metadata; real savings depend on the original image and your settings.

How to use it

Prepare, process and export.

Inputs and units

Upload a JPG, PNG or WebP image up to 20 MB. Choose JPEG or WebP, a quality level and maximum width. Output never enlarges the original.

How processing works

The image is resized proportionally to the selected maximum width and encoded at the selected quality. Size reduction = (original bytes − output bytes) ÷ original bytes × 100. A larger result is labeled as an increase, not a saving.

Worked example

Resize a 3,000-pixel-wide photo to 1,600 pixels and encode it at 80% quality. Compare original and output byte sizes and inspect the preview before downloading.

Assumptions and limitations

Inputs and files are processed in your browser, are not uploaded, and clear when you leave or reload. Compression is lossy and savings depend on the source. Very small or already-compressed images may get larger. JPEG removes transparency using your selected background. Encoding strips metadata; this is not a lossless PNG optimizer. Output is limited to 4,096 pixels per side and 16 million pixels.

Questions & answers

Frequently asked questions

Help with image optimizer, its inputs and what to expect.

What do I need to use the Image Optimizer?

Upload a JPG, PNG or WebP image up to 20 MB. Choose JPEG or WebP, a quality level and maximum width. Output never enlarges the original.

How does this tool process my input?

The image is resized proportionally to the selected maximum width and encoded at the selected quality. Size reduction = (original bytes − output bytes) ÷ original bytes × 100. A larger result is labeled as an increase, not a saving.

What should I check before using the output?

Inputs and files are processed in your browser, are not uploaded, and clear when you leave or reload. Compression is lossy and savings depend on the source. Very small or already-compressed images may get larger. JPEG removes transparency using your selected background. Encoding strips metadata; this is not a lossless PNG optimizer. Output is limited to 4,096 pixels per side and 16 million pixels.