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

# File

> Import images, videos, PDFs, and text documents into a Runchat workflow. Supports drag-and-drop, multiple files, and uploads to Runchat's cloud storage.

![A File input node with Import and Add buttons](https://mintcdn.com/runchat/rUDQhtaRtUR5pk6i/images/nodes/file-input.webp?fit=max\&auto=format\&n=rUDQhtaRtUR5pk6i\&q=85\&s=ed4ca090dc9a8a564a0862970f2e9275)

The File node imports files from your computer into a workflow. Click **Add file** to choose a file, or drag a file onto the node directly. Click **Add** again to add more files. To swap a file, select the node and click **Replace** on its toolbar.

When you upload an image, video, or PDF, Runchat uploads the file to cloud storage and stores a URL on the node. Plain text files (`.txt`, `.csv`, `.json`, `.xml`, `.html`) are stored directly on the node as text content.

## Supported file types

* Images: `.jpg`, `.jpeg`, `.jfif`, `.png`, `.gif`
* Videos: `.mp4`, `.webm`, `.mov`, `.avi`, `.mkv`
* Documents: `.pdf`, `.txt`, `.csv`, `.json`, `.xml`, `.html`

A single File node can hold multiple files of the same type. To import different file types, use separate File nodes.

## Image Input

For image-only uploads, use the dedicated **Image Input** node instead. It restricts uploads to image formats and is the right choice when you're publishing the node as part of a [Tool](https://docs.runchat.com/concepts/publishing/custom-nodes.md) and want to constrain what users can upload. An Image input that holds several images is a [collection](https://docs.runchat.com/concepts/editor/collections.md): you choose which of its images flow on to the rest of the workflow.

## Preview

After uploading, the file is previewed inline on the node. Images and videos render as thumbnails, PDFs display the first page.

## Next steps

* [Data Types](https://docs.runchat.com/concepts/data/data-types.md): how file URLs flow through a workflow
* [Media nodes](https://docs.runchat.com/concepts/nodes/create.md): use uploaded images as references for generation


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