---
title: "File uploads"
description: "Upload PDFs, Word documents, and text files so your agent can answer questions from their contents."
---

Upload documents such as product manuals, policies, price lists, and internal guides.

## Upload a file

In your agent, go to **Build** > **Knowledge**. In **Add knowledge**, select **Files** and choose a file. It is queued for training right away.

## Supported files

| Format | Extensions |
| --- | --- |
| PDF | `.pdf` |
| Word | `.doc`, `.docx` |
| Text | `.txt`, `.md`, `.csv` |

Each file can be up to **20 MB**.

:::warning[PDF limitations]
Only text-based PDFs are supported. Scanned documents, or PDFs where the text is stored as images, can't be read. If you can't select the text in a PDF, run it through an OCR tool first, or paste its content as a [Text](/docs/knowledge/text) source.
:::

## Download a file

To get a copy of an uploaded file, find it in the **Sources** list and select **Download**.

## Tips

- **Split very long documents** into separate files by topic. It makes it easier to see what your agent knows and to update one part.
- **Remove outdated versions** when you upload a new one, so your agent doesn't mix old and new information.
- Uploads count toward your [knowledge storage](/docs/billing/usage-and-limits). If a file would go over your limit, the upload is rejected.
