> ## Documentation Index
> Fetch the complete documentation index at: https://sitegpt.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Upload files

> Upload documents such as PDF, DOC, or CSV files from your computer so your chatbot can learn from them.

Use this guide to add documents from your computer to your chatbot's content. SiteGPT reads the text in each file.

To add files from Notion, Google Drive, Dropbox, OneDrive, or Box, see [Connect apps](https://sitegpt.ai/docs/guides/content/connect-apps.md). For GitHub, see [Connect GitHub](https://sitegpt.ai/docs/guides/content/connect-github.md).

## Before you start

* An active plan. Each plan has a page limit. See [Plans and limits](https://sitegpt.ai/docs/reference/plans-and-limits.md).
* The Super Admin, Admin, or Manager role on the chatbot. Agents cannot add content.
* Files that contain real text. See [What SiteGPT can read](#what-sitegpt-can-read).

Anyone who can use your chatbot can get answers from the files you upload. Only upload content that is safe for them to see.

## Upload files

**1. Open the upload form**

In the chatbot sidebar, go to **Files & Data Sources** > **Upload Local Files**.

**2. Choose the files**

Select **Browse File** and choose one or more files, up to 25 MB each. Drag and drop is not supported.

**3. Upload**

Select **Upload Files**. Wait for the message "All files uploaded successfully! Redirecting..."

You cannot select more files than the pages left in your quota. If you do, the form shows "You can only add N more file(s) with your current plan."

A file over 25 MB does not upload. When you choose it, the form leaves it out, keeps the other files, and shows "NAME is over 25 MB. Split it into smaller files." For several files, it shows "These files are over 25 MB: NAME, NAME. Split them into smaller files." Split the file into smaller files, then choose the parts.

## What SiteGPT can read

* **Formats.** The upload form names PDF, CSV, and DOC as examples. SiteGPT reads the text in the file.
* **Scanned documents.** SiteGPT does not run text recognition (OCR). A PDF that is only scanned images gives no text. Use a PDF with selectable text instead.
* **Size.** Each file can be up to 25 MB. The form does not upload a larger file. Split it into smaller files. See [Size of a file that your chatbot learns from](https://sitegpt.ai/docs/reference/plans-and-limits.md#size-of-a-file-that-your-chatbot-learns-from).
* **Pages of quota.** Each file uses one page for every 2,500 characters of text, and at least one page.

## Check that it works

1. Go to **Files & Data Sources** > **Files List**.
2. Wait for each file to show **Success**.
3. Ask the chatbot a question that one of the files answers.

## Fix text that was read badly

If SiteGPT read part of a file wrongly, you can edit the text it stored.

1. In **Files List**, find the file.
2. Select the pencil icon, **Update Content**, on the file's row.
3. Correct the text in **Document Content**.
4. Select **Update Content**. The message "Document content updated successfully" appears, and SiteGPT trains on your edited text.

> [!WARNING]
>
> If you resync the file later, SiteGPT reads the original file again. Your edits are then lost. To keep a correction, fix the original file and upload it again.

## Replace or remove a file

SiteGPT does not see changes you make to the file on your computer. To use a new version:

1. In **Files List**, select the old file.
2. Select **Delete N Selected** and confirm.
3. Upload the new version.

Deleting a file removes it from the chatbot's content and frees its pages.

## Troubleshooting

> [accordion] A file shows Failed
>
> Point to the **Failed** badge to see the reason. "This file or page format could not be processed" means SiteGPT could not read the file. Save it as PDF or plain text and upload it again. "This file is larger than 25 MB, the most SiteGPT can read from one file." means the file is over the size limit. Split it into smaller files and upload them. See [Size of a file that your chatbot learns from](https://sitegpt.ai/docs/reference/plans-and-limits.md#size-of-a-file-that-your-chatbot-learns-from).

> [accordion] A file failed to upload with Quota exceeded
>
> The form lists the file under "N file(s) failed to upload:" with "Quota exceeded. You can only add N more pages." When SiteGPT checked, no pages were left in your quota for the file, for example because content was added in another tab. SiteGPT did not add that file. Delete content you do not need, or upgrade. Then select **Retry Failed Files**. See [Plans and limits](https://sitegpt.ai/docs/reference/plans-and-limits.md).

> [accordion] A file shows Limit Reached
>
> Your plan's page limit was reached. Delete content you do not need, or upgrade. See [Plans and limits](https://sitegpt.ai/docs/reference/plans-and-limits.md).

> [accordion] Uploads are limited in my HIPAA workspace
>
> HIPAA workspaces have their own upload rules. See [HIPAA](https://sitegpt.ai/docs/account/hipaa.md).

Using the API or CLI to upload files? See [Ways to use SiteGPT](https://sitegpt.ai/docs/concepts/ways-to-use-sitegpt.md) for the developer tools.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.