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

# Which file types does Langdock support?

> Complete reference of supported file types in Langdock including text, tabular, image, and audio files with size limits.

Langdock supports the following file types:

**Text-based files:**

| File Type             | File Extension     | File Size Limit |
| --------------------- | ------------------ | --------------- |
| PDF                   | .pdf               | 256 MB          |
| Markdown              | .md                | 10 MB           |
| Text                  | .txt               | 10 MB           |
| Word                  | .docx, .doc, .dotx | 256 MB          |
| PowerPoint            | .pptx, .ppt, .potx | 256 MB          |
| JSON                  | .json              | 10 MB           |
| SharePoint Site Pages | .aspx              | 256 MB          |
| Outlook Email         | .msg               | 256 MB          |

For text-based files, there's an additional 8 million character limit that applies alongside the file size limit. So a PDF, for example, can be up to 256 MB in file size **or** hit the 8 million character limit. Knowledge bases accept supported text based formats such as PDF, DOCX, TXT, Markdown, and presentations.

**Tabular Files:**

| File Type             | File Extension                                 | File Size Limit |
| --------------------- | ---------------------------------------------- | --------------- |
| Excel / Google Sheets | .xlsx, .xls, .xlsm, .xltx, .xltm, .xlam, .xlsb | 30 MB           |
| CSV                   | .csv                                           | 30 MB           |
| TSV                   | .tsv                                           | 30 MB           |

Tabular files can be uploaded directly in chat, Agents, and Library Folders for active file work, and they sync from SharePoint or Google Drive folders via [Folder Sync](/en/using-langdock/guides/integrations/folder-sync). They cannot be uploaded to Knowledge bases. Spreadsheets in Recent Files support preview with sheet tabs, zoom, column resizing, and formula inspection. For technical details, see [tabular files in Knowledge bases](/en/using-langdock/troubleshooting/faq/tabular-files-in-knowledge-folders).

**Images:**

| File Type | File Extension | File Size Limit |
| --------- | -------------- | --------------- |
| JPG       | .jpg           | 20 MB           |
| PNG       | .png           | 20 MB           |
| WebP      | .webp          | 20 MB           |
| GIF       | .gif           | 20 MB           |
| TIFF      | .tiff          | 20 MB           |
| BMP       | .bmp           | 20 MB           |
| HEIF      | .heif          | 20 MB           |
| HEIC      | .heic          | 20 MB           |

Images can be uploaded in chat conversations, Agent chats, and Library Folders. They cannot be uploaded to Knowledge bases or agent knowledge.

**Audio Files**

| File Type   | File Extension                                 | File Size Limit |
| ----------- | ---------------------------------------------- | --------------- |
| Audio files | .mp3, .wav, .ogg, .mpeg, .mp4, .m4a, .vnd.wave | 200 MB          |

Audio files can be uploaded in chat conversations and Agent chats. They cannot be uploaded to Knowledge bases, Library Folders, or agent knowledge.

## FAQ

<AccordionGroup>
  <Accordion title="Why is my supported file not working?">
    A file type can be generally supported but still fail because of file size, corruption, password protection, scan quality, unusual encoding, or content that cannot be extracted reliably. Try a smaller or cleaner version of the file and check whether the file works as a direct upload or should be converted first.
  </Accordion>

  <Accordion title="Are spreadsheets handled the same way as text documents?">
    No. Spreadsheets and tabular files often need different handling from text documents. If exact rows, formulas, or calculations matter, use the file directly in a chat or workflow designed for data analysis instead of assuming it will behave like a text document in retrieval.
  </Accordion>
</AccordionGroup>
