Avif2Png's Media File format conversion API

Convert a media files (images) from a format to another

POST https://api.avif2png.xyz/convert

Body

from * The current format/extension of the media file, ex: avif

to * The wanted format/extension for the media file, ex: png

file * The binary data representing the file

Response

You will get a binary response with a mimetype

corresponding to the wanted file format/extension. Ex: image/png

Make sure the Content-Type is "multipart/form-data" when making the request.

Frequently Asked Questions about Avif2Png API

Your questions answered.

How do I convert AVIF to PNG online using an API?

What image formats does the Avif2Png API support?

Is there a free API for converting AVIF images to other formats?

How do I use the Avif2Png API for image conversion in my projects?

What's the response format for Avif2Png API conversions, and how do I handle it?