# Upload documents

URL: https://docs.assistantcore.com/en/knowledge-base/upload-documents

Upload files to your assistant's knowledge base in the Admin Panel, with supported formats, size limits, and fixes for errors.

Upload files in the Admin Panel so your assistant can answer from them. A document is ready once **Reading…** disappears from under its name.

## Before you start [#before-you-start]

- You need the **Assistant Owner** or **Assistant Admin** role on the assistant.
- The owner's plan must have room for another document. See [Plans and pricing](/en/billing/plans-pricing).
- Reading and indexing a document uses the uploader's credits. See [Credits](/en/billing/credits).

## Upload files [#upload-files]

1. In the [Admin Panel](https://admin.assistantcore.com), open the assistant and select **Knowledge Base** in the sidebar.
2. Click **Upload Documents**.
3. Drag files into the box, or click it to browse. You can select several files at once.
4. Click **Create**. The button shows **Uploading...** while the files upload.
5. When the dialog closes, the files appear in **Uploaded Documents** with **Reading…** under their name. A large PDF can take a few minutes; the list updates by itself, and you can leave the page meanwhile. If you stay on the page, a notice tells you when a document is ready or couldn't be read.

To check that it worked, ask the assistant a question that only the new document answers.

## Supported files [#supported-files]

| Format | Extensions | What is read |
| --- | --- | --- |
| PDF | `.pdf` | Text of every page. Scanned PDFs: text is recognized from the first 20 pages |
| Word | `.docx` | Paragraphs and tables. Images are not read |
| PowerPoint | `.pptx` | Slide text |
| Excel | `.xlsx`, `.xls` | Every sheet, as a table |
| CSV | `.csv` | The table |
| Text and Markdown | `.txt`, `.text`, `.md`, `.mdx` | The text |
| OpenDocument text | `.odt` | Text, headings, lists, and tables |
| Rich text | `.rtf` | The text |
| E-book | `.epub` | Chapter text |
| Web and data | `.html`, `.htm`, `.json`, `.xml` | Text content |

## Limits [#limits]

| Limit | Value |
| --- | --- |
| File size | 25 MB per file |
| Unpacked size of Office, OpenDocument, and EPUB files | 200 MB |
| Scanned PDF pages read | First 20 pages |
| Number of documents | Depends on the owner's plan. See [Plans and pricing](/en/billing/plans-pricing) |

Legacy Word files (`.doc`), password-protected files, and images are not accepted. The same file cannot be uploaded twice to one assistant.

## Manage documents [#manage-documents]

The **Uploaded Documents** table shows each document's name, type, size, uploader, and date.

- **Search**: type part of a file name or the uploader's email.
- **Filter**: choose a file type in **Type**.
- **Download**: click the download icon to get the original file.
- **Delete**: click the trash icon. The document is removed from the knowledge base at once.

<Callout type="warn">
Delete does not ask for confirmation and cannot be undone. Download a copy first if you may need the file again.
</Callout>

### Document status [#document-status]

| Under the name | Meaning |
| --- | --- |
| **Reading…** | The file is being read. The assistant can't use it yet. |
| Couldn't read N scanned page(s) | Scanned pages past the first 20, or that couldn't be recognized, were skipped. The assistant uses the rest. |
| A message in red | The file couldn't be read, and the assistant doesn't use it. See [Troubleshooting](#troubleshooting). |

### Update a document [#update-a-document]

Documents are not edited in place. To change one, delete the old document and upload the new version. If you upload the new version first, the assistant may find both and mix old and new answers.

## Troubleshooting [#troubleshooting]

<Accordions>
<Accordion title="The upload fails with an error">
One of the files was refused. Check that its type is in [Supported files](#supported-files), that it is under 25 MB, and that it is not password-protected. When you upload several files, the others may still have been added: refresh the list before you try again.
</Accordion>

<Accordion title="\"This document has already been uploaded\"">
A file with exactly the same content is already in the knowledge base. Nothing needs to change.
</Accordion>

<Accordion title="Couldn't read this file.">
The file is damaged or protected in a way that can't be opened. Open it on your computer, save or export it again (for example as PDF), then delete the failed document and upload the new copy.
</Accordion>

<Accordion title="No text found to read.">
The file holds no text, for example a document made only of pictures. Add the content as text, or as a PDF with selectable text.
</Accordion>

<Accordion title="Couldn't be read.">
A temporary problem stopped the reading. Click **Try again** next to the message.
</Accordion>

<Accordion title="\"Knowledge base document limit reached for your plan\"">
The assistant holds as many documents as the owner's plan allows. Delete documents you no longer need, or ask the owner to upgrade. See [Plans and pricing](/en/billing/plans-pricing).
</Accordion>

<Accordion title="The assistant does not use the document">
Check that the `knowledge_base` tool is on in **Tools**, then ask a question that uses words from the document. See [Best practices](/en/knowledge-base/best-practices) for how to make documents easier to find.
</Accordion>
</Accordions>

<Cards>
<Card title="Add web pages" description="Add a page or crawl a website into the knowledge base." href="/en/knowledge-base/web-crawling" />

<Card title="Best practices" description="Prepare documents so the assistant finds the right answer." href="/en/knowledge-base/best-practices" />
</Cards>