ImageKit supports the following image formats for resizing and automatic compression:

Supported image types for optimizations and transformations (input and output)

  1. JPG

  2. PNG

  3. GIF

  4. SVG

  5. WEBP

  6. AVIF

Apart from above image formats, you can use ImageKit to deliver other image formats without optimizations and transformations.

Supported video formats (input)

  1. MOV

  2. MP4

Supported video formats (output)

  1. MP4

  2. WebM

Supported non-image extensions

Other extensions can be added to the following list for enterprise users.

"zip", "pdf", "js", "css", "txt", "woff", "woff2", "ttf", "otf", "eot", "json" , "ico", "php", "mov", "mp4", "webm", "swf", "ts", "m3u8", "doc", "docx", "ppt", "pptx", "eps", "psd" , "xls", "xlsx", "bmp", "rtf", "ept", "mp3", "m4a", "xml", "rss", "html", "mjs", "tiff", "tif" , "usdz"

Different ways of uploading files to the Media Library

The Media Library comes with a very easy to use interface to upload files. You can simply drag and drop the files in the Media Library section in the dashboard. The file would automatically start uploading. Once the file upload is complete, you will get a URL for that file.

The other way to upload files is via our upload APIs. These APIs provide you with a programmatic method to upload images and files to the Media Library. There are separate APIs to upload images and files to the Media Library. You get the file URL and other necessary information in the API response if the upload is successful. These APIs have been discussed in further detail in the Upload section of this documentation.

The formats allowed for upload to the Media Library can be found here.

Did this answer your question?