This site has been acquired by Toptal.com.
(Attention! API endpoint has changed)

Crush your PNGs

Online PNG Crush. Free! Provides an API. Simple Quick and Fast.

Input Image

Crushed Files

Crushed files will appear here.

Original
{{ image.size }}
bytes
Crushed
{{ image.newSize }}
bytes
Saved
{{ image.saved }}
bytes

{{ image.filename }}

{{ image.status }}

Preview

{{ filename }}

{{ type }} {{ size || '' }}

API

Do not hotlink to images since they will be removed every 10 minutes. Maximum filesize is 5MB.

General

To crush your PNG files perform a POST request to https://www.toptal.com/developers/pngcrush/crush with the input parameter set to the file content you want to crush.

POST https://www.toptal.com/developers/pngcrush/crush?input=...

For example:

curl -X POST -s --form "input=@filename.png;type=image/png" https://www.toptal.com/developers/pngcrush/crush > crushed.png

To see implementations in other languages see the Examples page.