|
1 | 1 | --- |
2 | 2 | title: Upload static files |
3 | | -description: Learn how you can upload static files to your CodeSandbox repositories. |
| 3 | +description: Learn how you can upload static files to your CodeSandbox Sandboxes and Devboxes. |
4 | 4 | --- |
5 | 5 |
|
| 6 | +import { Callout } from 'nextra-theme-docs' |
| 7 | + |
| 8 | +--- |
6 | 9 |
|
7 | 10 | # Upload static files |
8 | 11 |
|
9 | | -You can upload static files to your projects in CodeSandbox. To use this feature, drag the desired files from your computer and drop them into the file explorer on the sidebar. The files will then be automatically uploaded. |
| 12 | +You can upload static files (images, documents, videos, etc.) to your projects in CodeSandbox. To use this feature, drag the desired files from your computer and drop them into the file explorer on the sidebar. The files will then be automatically uploaded. |
10 | 13 |
|
11 | 14 | Alternatively, you can use the icons shown at the right of the _WORKSPACE_ heading (top of the file explorer), right-click the file explorer, or press `$mod+alt+F` to open the file input. |
12 | 15 |
|
13 | 16 |  |
14 | 17 |
|
15 | | -CodeSandbox allows you to upload several different file types (images, documents, videos, etc.) with up to 7MB each in our Free plans and 30MB each in our [Pro plans](https://codesandbox.io/pricing). |
| 18 | +## Upload limits |
| 19 | + |
| 20 | +CodeSandbox file upload limits vary depending on the runtime and plan. |
| 21 | + |
| 22 | +For Sandboxes, the limits are: |
| 23 | + |
| 24 | +- 50 MB total storage per user with a Free account. |
| 25 | +- 1000 MB total storage per user with a Pro account. |
| 26 | + |
| 27 | +<Callout emoji="⚠️"> |
| 28 | +The limits for Sandboxes are not specific to each Sandbox; they are shared across all Sandboxes created by the same user. |
| 29 | +</Callout> |
| 30 | + |
| 31 | +You can check your current Sandbox storage usage from your [Dashboard](https://codesandbox.io/dashboard/) by clicking your user avatar at the top right and then "Storage". |
| 32 | + |
| 33 | +For Devboxes and repositories, the limits are: |
| 34 | + |
| 35 | +- 20 GB total storage per Devbox or repository branch for workspaces on a Free plan. |
| 36 | +- 50 GB total storage per Devbox or repository branch for workspaces on a Pro plan. |
| 37 | + |
| 38 | +You can check your Devbox storage usage by clicking the CodeSandbox icon at the top left of the editor and then "Virtual machine". This will open a new DevTool displaying the current VM usage, including storage. |
| 39 | + |
| 40 | + |
0 commit comments