✦ PNG IMAGES · PROCESSED LOCALLY

Compress PNG
privately in your browser.

Convert PNG images to JPG or WebP to get smaller files. PNG output is not useful here because the browser encoder does not support a quality level for PNG.

Processed locally

ℹ PNG output is not available — the browser encoder ignores quality for PNG. Choose JPG or WebP to reduce file size.

Drop PNG files here

or choose files

PNG files · up to 20 files · max. 75 MB per image
Files stay on your deviceNo accountNo watermark
COMPRESS PNG

Convert PNG to a smaller JPG or WebP

Choose JPG or WebP as the output format. PNG output is unavailable because quality control is not supported.

01
↥

Select PNG

Choose one or more PNG files from your device.

02
⌁

Choose output

Select JPG or WebP as the output format and set the quality.

03
↓

Download file

Download results individually or collect multiple files in a ZIP archive.

FORMAT KNOWLEDGE

Why PNG cannot be compressed like JPG

The browser's canvas.toBlob() function ignores the quality value for PNG output.

PNG

Lossless compression without quality control

PNG uses lossless DEFLATE. The quality parameter has no effect on the encoder. That is why PNG is not available as an output format here.

JPG

Lossy and more compact for photographs

JPG allows an adjustable quality setting. For photographs, JPG is usually much smaller than PNG.

WEBP

Modern and often smaller than JPG

WebP also supports an adjustable quality setting and frequently achieves smaller files than JPG for photographs.

FORMAT IN DEPTH

PNG compression in depth

Technical background for choosing between JPG and WebP.

Why PNG does not solve a quality problem

canvas.toBlob('image/png', ..., quality) ignores the quality parameter entirely. A PNG output would be equivalent to the original but not smaller.

When JPG is the better choice

For photographs without transparency, JPG at a good quality setting usually produces files much smaller than PNG and is supported nearly everywhere.

When WebP is the better choice

Modern WebP typically achieves smaller files than JPG at the same perceived quality. Browser support has been universal since 2022.

What is lost during conversion

PNG transparency is placed on white for JPG output. WebP can in principle preserve transparency. PNG-specific metadata are not transferred.

FREQUENT QUESTIONS

Questions about PNG

Answers about compression, quality, and privacy.

Why is there no PNG output?

canvas.toBlob() ignores the quality value for PNG. A PNG output would not be smaller than the original — that is why only JPG and WebP are available.

What happens to transparency?

Transparent areas are placed on a white background for JPG output. WebP can in principle preserve transparency.

Which quality should I choose?

80 % is a practical starting point. Lower it for smaller files; then check fine edges and gradients.

Can I compress several PNG files?

Yes. Up to 20 files can be processed in one batch.

Are resolution and aspect ratio preserved?

Yes. LokalPix does not change the pixel dimensions during compression.

PRIVACY BUILT IN

Your images belong to you.

Processing uses your browser's built-in functions. There is no image upload and no cloud storage.

Technology and data flow in detail →