Documentation

Supported File Types & Formats

Get Pronto supports a wide range of file formats for storage and delivery. Image files additionally support transformations like resizing, format conversion, and optimization.

File Type Detection

Get Pronto automatically detects file types using both file extensions and content analysis. When uploading files, you can optionally specify a MIME type to override the automatic detection:

typescript
// Override MIME type during upload
const result = await client.files.upload(file, {
  mimeType: "image/png"
});

Images

Max Size: 25MB
Transformations: Supported

Static and animated image formats

MIME TypeExtensionsNotes
image/jpeg.jpg, .jpeg, .jpe, .jif, .jfifSupports quality optimization
image/png.pngSupports transparency
image/gif.gifSupports animation
image/webp.webpModern format with superior compression
image/svg+xml.svgVector format
image/tiff.tiff, .tif
image/bmp.bmp
image/heic.heicHigh-efficiency format
image/avif.avifNext-gen format with best compression

Videos

Max Size: 100MB

Common video formats

MIME TypeExtensionsNotes
video/mp4.mp4, .m4vMost widely supported
video/webm.webmOpen format with good compression
video/ogg.ogv
video/quicktime.mov
video/x-msvideo.avi
video/x-matroska.mkvContainer format
video/3gpp.3gpMobile-optimized
video/x-ms-wmv.wmv
video/mpeg.mpeg, .mpg

Documents

Max Size: 10MB

Text-based formats

MIME TypeExtensions
application/json.json
text/plain.txt

Archives

Max Size: 50MB

Compressed file formats

MIME TypeExtensionsNotes
application/zip.zip
application/x-zip-compressed.zipAlternative ZIP MIME type
application/x-7z-compressed.7z
application/x-rar-compressed.rar
application/gzip.gz, .gzip
application/x-tar.tar

Image Format Optimization

When using image transformations, Get Pronto can automatically optimize the output format based on browser support and quality requirements. You can either specify a format explicitly or let the system choose the best format:

typescript
// Explicit WebP conversion
const webpUrl = await client.images
  .transform(fileId)
  .format("webp")
  .toURL();

// Automatic format optimization
const optimizedUrl = await client.images
  .transform(fileId)
  .toURL(); // Format chosen based on Accept header

Next Steps

Continue exploring our documentation with these related topics: