---
title: Images, videos, and file uploads
description: Attach media, documents, code, and other supported assets to give v0 context or add them to your application.
product: v0
type: guide
prerequisites:
  - /docs/quickstart
related:
  - /docs/screenshots
  - /docs/figma
---

# Images, videos, and file uploads



You can attach images, videos, audio, documents, code, and other assets to give v0 context or add them to your application. v0 supports uploading files directly into the chat or copying and pasting images from your clipboard.

## Uploading files

### Using the attachment button

1. Click the **+ icon** in the chat input area and choose **Upload from computer**
2. Select a supported file from your device
3. The file will be uploaded and displayed in the chat
4. Add your prompt describing how v0 should use the file

### Drag and drop

You can also drag and drop files directly into the chat area:

1. Select a supported file from your file explorer
2. Drag it over the chat interface
3. Drop it when you see the upload indicator

### Copy and paste

For quick additions, you can copy images directly from other applications and paste them into the chat:

1. Copy an image from any application (browser, design tool, etc.)
2. Use `Cmd` + `V` (Mac) or `Ctrl` + `V` (Windows/Linux) to paste

## Supported file types

The upload server accepts the following formats:

| Category             | Supported formats                                                                                                                                 |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| Images               | PNG, JPEG/JPG, WebP, GIF, SVG, ICO, AVIF                                                                                                          |
| Video                | MP4, WebM, OGG, MOV/QuickTime                                                                                                                     |
| Audio                | MP3/MPEG, WAV, OGG                                                                                                                                |
| Documents            | PDF, DOCX, XLSX                                                                                                                                   |
| 3D and model assets  | GLB, glTF, OBJ                                                                                                                                    |
| Text, code, and data | Plain text and other `text/*` files; common code and configuration files; JSON, TypeScript, JavaScript, YAML, SQL, XML, shell, PHP, Ruby, and AWK |
| Archives             | ZIP, GZIP/GZ                                                                                                                                      |
| Fonts                | WOFF, WOFF2, TTF                                                                                                                                  |
| Email                | EML                                                                                                                                               |
| Rive assets          | RIV                                                                                                                                               |

File acceptance is based primarily on the file's detected MIME type. Known text, code, and Rive extensions are handled separately when browsers do not report a useful MIME type.

DOCX and XLSX files are available in VM-backed chats, where v0 materializes and reads them in the sandbox. Legacy DOC and XLS files are not supported.

## Use Cases

### Product galleries and catalogs

Add product images to create rich e-commerce experiences:

<PromptLink text="Build a product catalog page that displays these product images in a responsive grid." />

### Media players and video content

Include video files for media-rich applications:

<PromptLink text="Create a video player component that can display this video with custom controls." />

### User avatars and profiles

Add user profile images and avatars:

<PromptLink text="Build a user profile page that displays this avatar image and allows users to upload their own." />

### Hero sections and banners

Incorporate images into landing pages and hero sections:

<PromptLink text="Create a hero section using this background image with overlay text and call-to-action buttons." />

## Limits

File size limits vary depending on where you're uploading and your subscription tier:

| Upload Type      | Free Users | Premium/Plus/Business/Enterprise Users |
| ---------------- | ---------- | -------------------------------------- |
| Chat attachments | 5 MB       | 20 MB                                  |
| ZIP file uploads | 10 MB      | 50 MB                                  |

## Best practices

* Use **high-resolution images** (at least 1024px wide) for better display quality
* Optimize images for web use to ensure fast loading times
* Combine media with clear instructions to get better results

## Troubleshooting

If you're having trouble uploading files:

* Check that your file is under the size limit
* Ensure the file format is supported
* Try refreshing the page and uploading again

If v0 isn't properly integrating your media:

* Provide more specific instructions about how you want the media displayed
* Specify the component type (gallery, player, background, etc.)
* Include layout preferences (grid, carousel, single display)

By leveraging images and videos in your v0 workflow, you can create rich, media-enhanced applications that provide engaging user experiences.


---

For a semantic overview of all documentation, see [/docs/sitemap.md](/docs/sitemap.md)

For an index of all available documentation, see [/docs/llms.txt](/docs/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/docs/agents.md](/docs/agents.md)