--- title: Read File slug: /read-file --- import Icon from "@site/src/components/icon"; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import PartialParams from '@site/docs/_partial-hidden-params.mdx'; import PartialDevModeWindows from '@site/docs/_partial-dev-mode-windows.mdx'; import PartialDockerDoclingDeps from '@site/docs/_partial-docker-docling-deps.mdx'; In Langflow version 1.7.0, this component was renamed from **File** to **Read File**. The **Read File** component loads and parses files, converts the content into a `Data`, `DataFrame`, or `Message` object. It supports multiple file types, provides parameters for parallel processing and error handling, and supports advanced parsing with the Docling library. You can add files to the **Read File** component in the visual editor or at runtime, and you can upload multiple files at once. For more information about uploading files and working with files in flows, see [File management](/concepts-file-management) and [Create a chatbot that can ingest files](/chat-with-files). The **Read File** component can read files from the local Langflow database, **AWS S3**, or **Google Drive**. For more information, see [Configure file storage](/concepts-file-management#configure-file-storage). ## File type and size limits By default, the maximum file size is 1024 MB. To modify this value, change the `LANGFLOW_MAX_FILE_SIZE_UPLOAD` [environment variable](/environment-variables).
Supported file types The following file types are supported by the **Read File** component. Use archive and compressed formats to bundle multiple files together, or use the [**Directory** component](/directory) to load all files in a directory. - `.bz2` - `.csv` - `.docx` - `.gz` - `.htm` - `.html` - `.json` - `.js` - `.md` - `.mdx` - `.pdf` - `.py` - `.sh` - `.sql` - `.tar` - `.tgz` - `.ts` - `.tsx` - `.txt` - `.xml` - `.yaml` - `.yml` - `.zip`
If you need to load an unsupported file type, you must use a different component that supports that file type and, potentially, parses it outside Langflow, or you must convert it to a supported type before uploading it. For images, see [Upload images](/concepts-file-management#upload-images). For videos, see the **Twelve Labs** and **YouTube**