Supported file types
Nutrient Data Extraction API accepts more than 30 file formats: PDFs; 10 image formats; and Word, Excel, PowerPoint, RTF, and OpenDocument text files. The API automatically detects the file type from the content, so you don’t need to specify it explicitly. Direct uploads with a live key can be up to 150 MB. Files fetched from a URL can be up to 50 MB.
PDFs
The API accepts PDF files. Born-digital PDFs work in every mode, and scanned PDFs need a mode that runs OCR.
| Extension | MIME type |
|---|---|
application/pdf |
Images
The API accepts 10 image formats. Text in an image needs OCR, which text mode doesn’t run.
| Extension | MIME type |
|---|---|
| PNG | image/png |
| JPG/JPEG | image/jpeg |
| TIFF | image/tiff |
| BMP | image/bmp |
| GIF | image/gif |
| WEBP | image/webp |
| SVG | image/svg+xml |
| HEIC | image/heic |
| TGA | image/x-tga |
| EPS | image/postscript |
Office documents
The API supports Word documents, spreadsheets, and presentations across both modern Open XML formats and legacy binary formats.
Documents
The API accepts Word documents and templates, RTF files, and OpenDocument text files.
| Extension | MIME type |
|---|---|
| DOC | application/msword |
| DOCX | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
| DOCM | application/vnd.ms-word.document.macroEnabled.12 |
| DOTX | application/vnd.openxmlformats-officedocument.wordprocessingml.template |
| DOTM | application/vnd.ms-word.template.macroEnabled.12 |
| RTF | application/rtf |
| ODT | application/vnd.oasis.opendocument.text |
Spreadsheets
The API reads XLSX workbooks cell by cell. Each visible worksheet becomes one page, and the cells supply the tables, headings, and paragraphs instead of a rendered image. Hidden sheets aren’t converted, and each cell returns the text Excel displays. Other spreadsheet formats are still accepted, but they don’t use this optimized XLSX path. Refer to the spreadsheets guide for details.
| Extension | MIME type |
|---|---|
| XLS | application/vnd.ms-excel |
| XLSX | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
| XLSM | application/vnd.ms-excel.sheet.macroEnabled.12 |
| XLSB | application/vnd.ms-excel.sheet.binary.macroEnabled.12 |
| XLTX | application/vnd.openxmlformats-officedocument.spreadsheetml.template |
| XLTM | application/vnd.ms-excel.template.macroEnabled.12 |
| XLAM | application/vnd.ms-excel.addin.macroEnabled.12 |
Slides
The API accepts PowerPoint presentations, slide shows, templates, and add-ins.
| Extension | MIME type |
|---|---|
| PPT/PPS | application/vnd.ms-powerpoint |
| PPTX | application/vnd.openxmlformats-officedocument.presentationml.presentation |
| PPTM | application/vnd.ms-powerpoint.presentation.macroEnabled.12 |
| PPSX | application/vnd.openxmlformats-officedocument.presentationml.slideshow |
| PPSM | application/vnd.ms-powerpoint.slideshow.macroEnabled.12 |
| POTX | application/vnd.openxmlformats-officedocument.presentationml.template |
| POTM | application/vnd.ms-powerpoint.template.macroEnabled.12 |
| PPAM | application/vnd.ms-powerpoint.addin.macroEnabled.12 |
Does every endpoint accept every format?
No. The parse and extract endpoints read the formats listed on this page. The classify endpoint lists PDF, PNG, JPEG, and TIFF; Office documents aren’t listed for classify. The split endpoint accepts PDFs; images such as PNG, JPEG, and TIFF; and Office documents such as DOCX, and processes up to 1,024 pages per request. For Office documents, that limit applies after conversion to PDF.
| Endpoint | Listed formats |
|---|---|
| Parse and extract | The formats listed on this page |
| Classify | PDF, PNG, JPEG, and TIFF |
| Split | PDFs; images such as PNG, JPEG, and TIFF; and Office documents such as DOCX |
For details, refer to the classify endpoint and split endpoint guides.
What are the file size limits?
The maximum file size depends on how the document reaches the API.
With a live key, direct uploads can’t exceed 150 MB for the whole request. Larger requests return a 413 response. If Support enables test keys for your account, those keys carry lower limits.
For a url input, Nutrient downloads the file with a 50 MB limit and a 30-second response timeout. A file larger than 50 MB returns a 422 response with the detail file at URL exceeds maximum size on $.url. A download that fails or times out returns 422 on the same path.