Skip to content

Supported files and scanned documents

An uploaded-files source takes:

  • PDF (.pdf)
  • Word (.docx)
  • Markdown (.md, .markdown) and plain text (.txt)
  • Images: PNG (.png), JPEG (.jpg, .jpeg) and TIFF (.tif, .tiff)

Other types, including older Word files (.doc), macro-enabled Word files and GIF images, are refused.

Scanned PDF pages and images are read with text recognition, in English, Spanish and Arabic. Text recognition is in beta, so check answers from scanned documents against the page.

A PDF can mix typed and scanned pages; each scanned page is recognised. Up to 500 scanned pages of one PDF are read.

The largest file you can upload depends on your plan:

Plan Largest file File storage
Free 1 MB 100 MB
Starter 10 MB 1 GB
Team 20 MB 10 GB
Business 50 MB 50 GB
Enterprise 50 MB Unlimited

The source’s page tells you the limit before you upload. A source holds at most 10,000 files.

A file is also refused when it has more than 2,000 pages, or more than 5,000,000 characters of text.

  • PDF: the text of each page, in reading order. Repeated page headers and footers are left out. Answers can cite the page, such as “p. 3”.
  • Word: the body, headings, lists, tables, text boxes, footnotes and endnotes. Tracked changes are read as accepted. Comments, headers, footers and hidden text are left out.
  • Markdown and text: the whole file, with Markdown headings used as sections.

A document that can’t be read shows Failed on its source’s page, with the reason. Common reasons:

  • The PDF or Word document is password-protected. Remove the password and upload it again.
  • The file is damaged.
  • The PDF has no text that could be read, and its pages couldn’t be recognised.
  • No text was found in an image.
  • Reading the file took too long, or it is too large.
  • Your organization has used its monthly token quota. Ingest the source again when the quota allows. See Usage and limits.

After fixing the cause, upload the file again or choose Retry failed.