PNG optimizer

Compress PNG images in your browser with lossless Oxipng optimization while preserving visual quality.

Choose PNG image

Choose one PNG file to compress.

Drop a PNG here

Drag a file into this area or click to browse.

Optimization options

Adjust the optimization settings before compressing the image.

2

Higher levels try more strategies and may take longer.

FasterSmaller

Optimization result

Compare the output size and download the optimized PNG.

No optimized PNG yet

Choose a PNG and optimize it to compare file sizes.

What the PNG optimizer does

The PNG Optimizer compresses PNG images with lossless Oxipng optimization. It rewrites the PNG structure, compression settings, palette data, and alpha information where possible without changing the visible pixels.

When to use it

Use it before publishing screenshots, UI assets, diagrams, icons, or transparent graphics where PNG is the right output format. It is useful when you need a smaller file but cannot accept quality loss, color shifts, or conversion to a different image format.

Optimization options

The compression level controls how much work Oxipng performs. Lower levels return faster, while higher levels try more combinations and can take longer on large images. PNG interlacing can help older viewers show a coarse preview while loading, but it can also increase size. Alpha optimization is usually worth keeping on because it only applies lossless transparent-pixel improvements.

Privacy and file handling

The image is processed locally in your browser. The tool creates a temporary browser object URL for preview and download, and it does not upload the PNG to a server.

Practical notes

Lossless PNG optimization is not guaranteed to shrink every file. Some images have already been optimized, and occasionally a different PNG layout can be the same size or slightly larger. In that case, keep the original file or try a lower compression level.

How to use

Choose a PNG or SVG file, or paste SVG markup. Adjust the options, optimize, review the result, and download it.