For the complete documentation index, see llms.txt. This page is also available as Markdown.

File Inputs, Supported Formats, and Size Limits

File inputs pass documents or media to a workflow. The supported format and size depend on the receiving node, parser, and upload path.

Before you begin

Identify whether you are uploading into a workflow input, a knowledge base, or the Files API. Check the corresponding formats and limits below before uploading.

Supported document formats

Knowledge-base ingestion supports the following file families. A specialized workflow input or model can accept a smaller set; a file that can be stored is not necessarily readable by every processing step.

Content
Formats

Documents

PDF; Word DOC, DOCX, DOCM, DOTX, DOTM; OpenDocument ODT

Spreadsheets

CSV; XLS, XLSX, XLSM, XLSB, XLTX, XLTM; ODS

Presentations

PPT, PPTX; ODP

Text and structured text

TXT, HTML/HTM, XML, Markdown, JSON, YAML/YML, PY, CSS, CPP, SQL, VTT

Images

JPG/JPEG, PNG, GIF, BMP, TIFF/TIF, SVG

Audio and media for transcription

MP3, MP2, MP4, AAC, WAV, FLAC, M4A, OGG, OPUS, WEBM

Email and archives

EML, MSG, ZIP

Google Workspace documents are imported through their source connection. Renaming a local file to a Google Workspace extension does not turn it into a supported cloud document.

Size limits by upload path

Upload path
Maximum size
Scope

Knowledge-base resource upload

1,000,000,000 bytes (1 GB)

General cap per file; lower type-specific limits below still apply.

Knowledge-base DOCX upload

104,857,600 bytes (100 MiB)

DOCX has a lower cap.

Knowledge-base MP4, MP3, MP2, AAC, WAV, FLAC, M4A, OGG, OPUS, WEBM, or SVG upload

21,000,000 bytes (21 MB, about 20 MiB)

Per-file type-specific cap.

Files API upload

536,870,912 bytes (512 MiB)

File storage limit; it does not override the receiving node’s or parser’s limits.

The upload control can apply a lower limit than the storage API. If a file is rejected, use the limit shown by that control or error rather than the limit for a different upload path. For Files API requests, see File Upload and Download Contracts.

File input terms

Term
Definition

File reference

An identifier or URL used to pass a file to a supported operation. It must be accessible and use the format expected by that operation.

Upload

Transfer of file bytes through a supported interface or API. Upload acceptance does not establish parsing or indexing completion.

Finalization

A required confirmation step for upload methods that separate allocation from completion. Do not use an allocated upload URL as if the file were already ready.

Parsing

Extraction of usable text or structure from source content. Review the extracted content when the workflow misses text, tables, or locations.

Schema

A definition of fields, types, required values, and supported constraints. Use it to validate the shape of data; it does not establish factual correctness.

Provide a file input

  1. Inspect whether the input expects a file reference, one URL, or a list.

  2. Upload the file through the supported interface or file API.

Add the source document through the Files input before passing it to a processing step.

Add the source document through the Files input before passing it to a processing step.

  1. Map the completed upload reference to the node and inspect the parsed result.

Confirm the node receives the file reference and that parsing returns the expected content.

Use an interface upload in an agent

Expose the intended Files input in the interface and reference it in the agent’s Prompt. For inspection, analysis, or generated downloads, configure File Access with the appropriate file tool. The interface’s upload icon alone does not perform this setup.

Follow Let an agent work with uploaded files for a real chat upload and downloadable result, or use Troubleshoot uploaded files and downloads to investigate reading and output problems.

Behavior and limitations

Allocating an upload URL is not the same as completing and finalizing an upload. A file accepted for storage can still fail parsing. Do not apply one tool’s size limit to every upload path. A workflow file upload does not automatically add the file to a knowledge base.

Document, image, and URL processing

Parsing, OCR, and Document Structure

Was this helpful?