Documentation Index

Fetch the complete documentation index at: https://cloudinary.com/documentation/llms.txt

Use this file to discover all available pages before exploring further.

Image & Video APIs

Image format support

Last updated: Jun-03-2026

Images can be uploaded to Cloudinary in various formats (input formats), and you can easily convert these images to other formats for displaying in your web site or application (output formats). Examples of situations where you might want to change the delivered image format:

  • Delivering JPEG images for photos that you want to load quickly (or AVIF or WebP if your users are on a browser that supports these).
  • Delivering a PNG (24 bit) for high quality illustrations with a transparent background.
  • Delivering an image where the original format is not supported for delivery by the browser. For example, you could deliver a Photoshop (.psd) image as a JPEG.

Tip
For image format optimization guidelines, see How to optimize image format.

Delivering in a different format

You can convert and deliver images in any supported image format by specifying the required format as the file extension of the delivery URL.

To convert an image to a different format:

  1. Specify the required format as the file extension in your delivery URL. When using an SDK, you can either append the extension of the new format to the asset's public ID or use the format parameter.

    For example, the following displays the uploaded woman-business-suit JPEG image as a PNG:

    Image converted to PNG
  2. Optionally, combine format conversion with other image transformations. For example, the following delivers the same image as a PNG, but this time removing the background and converting the image to grayscale:

    Image converted to PNG and removing the background

To change format when you cannot modify the file extension:

Use the fetch_format transformation parameter (f in URLs). This is useful when fetching remote assets that already have a different file extension (format) as part of their URLs.

For example, the following fetches a remote image from Wikimedia in PNG format, and delivers the image in JPEG format (also scaled down to a width of 400 pixels):

Benedict_Cumberbatch fetched from Wikimedia and delivered as a PNG

Notes
  • If the file extension is omitted in a delivery URL, the file is delivered in the originally uploaded format unless a specific format (or the auto format is requested using the fetch_format (f_) transformation parameter).
  • When converting from one multi-page or multi-layer image format (PDF, GIF, WebP, TIFF, PSD) to another, only the first 100 pages are included in the new file.
  • SDK major versions with initial release later than January 2020 have a format transformation parameter, instead of the fetch_format parameter. See f (format) in the transformation reference.

f_auto

You can take advantage of Cloudinary's automatic format selection (f_auto) transformation to automatically deliver images in the most optimized format that's supported by the requesting browser.

For example, if you deliver a JPEG image with f_auto, Cloudinary might generate and deliver the image as a WebP, AVIF or JPEG XL file, depending on the requesting browser and your account setup. The f_auto algorithm will similarly deliver the best format when the original asset is a PNG (with or without transparency), an animated GIF, etc.

For details, see Automatic format selection (f_auto) and Tips and considerations for using f_auto.

Supported image formats

The table below summarizes the supported image formats.

Format Extensions Supported for Upload 1 Supported for Transformations 2
3DS .3ds Yes Yes
AI (Adobe Illustrator) .ai Yes Yes
animated AVIF .avif No Yes 6
animated GIF .gif Yes Yes
animated PNG .png Yes Yes
animated WebP .webp Yes Yes
AVIF .avif Yes Yes 6
BMP .bmp Yes Yes
BW (Browzwear file) .bw Yes Yes
DjVu .djvu Yes No
DNG (Digital Negative) .dng Yes No
EPS (Encapsulated PostScript) .ps, .ept, .eps, .eps3 Yes Yes
FBX (Filmbox) .fbx 7 Yes 5 Yes
FLIF (Free Lossless Image Format) .flif Yes Yes
GIF .gif Yes Yes
GLB (Binary glTF) .glb Yes Yes
glTF (GL Transmission Format) .gltf Yes 5 Yes
HEIF .heif, .heic Yes Yes
ICO .ico Yes Yes
InDesign .indd Yes Yes 3
JPEG .jpg, .jpe, .jpeg Yes Yes
JPEG 2000 .jp2 Yes Yes
JPEG XR (JPEG eXtended Range) .wdp, .jxr, .hdp Yes Yes
JXL (JPEG XL) .jxl Yes Yes
OBJ .obj 7 Yes Yes
PDF .pdf Yes Yes
PLY .ply Yes Yes
PNG .png Yes Yes
PSD (Photoshop Document) .psd Yes Yes 4
Raw image files .arw, .cr2, .cr3 Yes No
SVG .svg Yes Yes
TARGA (Truevision TGA) .tga Yes Yes
TIFF .tif, .tiff Yes Yes
U3MA (Fabric file) .u3ma Yes 5 Yes
USDZ .usdz Yes Yes
WebP .webp Yes Yes

Footnotes
  1. If a format is supported only for upload, then the delivery URL enables a user to download the original file in its original format, but you cannot apply transformation parameters.
  2. If a format is supported for transformations, but the browser doesn't support displaying that format, you can either provide the transformation URL with the original format to enable users to download the file, or you can provide the URL with a different delivery format specified. In that case, Cloudinary applies the transformation to the original format and then converts the image to the requested format for delivery. For example, you could provide a transformation URL for a Photoshop (.psd) image and specify jpg as the delivery format to display the resulting transformation in the browser.
  3. You can transform an InDesign file if you deliver it as an image format, such as jpg or png, but you cannot deliver an indd file with transformations.
  4. All layers are flattened into a single image if no page parameter is specified.
  5. Certain 3D file formats are supported for upload within a zip file containing other required files for the model, such as textures etc. Some transformations, such as converting to a video or image, are supported on the bundle as a whole. No transformations are currently supported on its contained assets. For further information see Transformations on 3D models.
  6. Images converted to AVIF and animated AVIF from other formats use additional quota. Images exceeding 30 megapixels cannot be encoded to AVIF - ensure you scale them down first. You can request to enable AVIF and animated AVIF as possible formats to be delivered when automatic format selection (f_auto) is used.
  7. You cannot convert a 3D model of a different format to FBX or OBJ.

✔️ Feedback sent!

Rate this page:

one star two stars three stars four stars five stars