File formats and submissions
Supported file types, exact extensions, size limits and previews, for making a page and for challenge or assignment entries.
In Code Studio an item can hold documents, images, videos, 3D models, whole websites and downloads, each up to the limits below. A submission to a challenge or assignment takes less: text or code, an .html, .htm, .txt, .md or .zip file, images, or pen on the task's PDF.
Files you can use when making a page
Drop these into Code Studio. This is also how each one previews.
| Type | Extensions | How it shows |
|---|---|---|
.pdf | Its pages, right in the page. The first 50 pages. The eye on the file switches it to a download chip. | |
| Word, Excel, PowerPoint | .doc .docx .xls .xlsx .ppt .pptx | Microsoft's online viewer, in the page. The eye on the file switches it to a download chip. |
| Images | .png .jpg .jpeg .webp .gif .svg | In the page and as tiles under Images. Photos over 400 KB are resized to at most 2000 px and compressed. GIF and SVG stay as they are. |
| Videos | .mp4 .mov .m4v .webm | Played in the page. Converted in your browser to an MP4 of at most 1080p when needed. A clip too long to fit is refused; embed it from YouTube or Vimeo instead. |
| 3D models | .obj .glb .gltf .stl | A 3D viewer you can turn around. |
| A whole website | .html .htm .zip | Opens as the page itself. A ZIP needs index.html at the top, and holds one page. Or you can keep a ZIP as a file to download. |
| Text | .txt .md .json | Opens in the editor as the item's content. |
| Everything else | .odt .rtf .odp .key .ods .numbers .pages .psd .ai .fig .sketch .xd .epub .3mf .mtl .fbx .step .stp .iges .igs .blend | A chip people tap to download. |
To put a file in a sentence, write [file01]; on its own line it shows open.
What you can submit to a challenge or assignment
Open the task, then use its entry form. You need to be signed in to submit, and you can edit your entry until the deadline.
| Way | Accepts | Good to know |
|---|---|---|
| Type or paste | Text, Markdown or HTML code | Press Run to preview it before you submit. |
| Upload a page | .html .htm .txt .md .zip | One file. A ZIP runs as a page, with index.html at the top. |
| Add images | .png .jpg .jpeg .webp .gif .svg | Several at once, or paste from the clipboard. Place them with [img01], [img02]. |
| Write on sheet | Pen on the task's PDF | Only when the task has a PDF among its files. Each written page is saved as a picture. |
How submissions differ from making a page
| File | Making a page | Submitting an entry |
|---|---|---|
| HTML, text, ZIP page | Yes | Yes |
| Images | Yes | Yes |
| Yes, shown as pages | Not as an attachment. You write on the task's PDF if it has one. | |
| Word, Excel, PowerPoint | Yes, shown in the page | No |
| Video, 3D models | Yes, played or shown in the page | Only inside a ZIP page |
| Other downloads | Yes, as a download chip | No |
What a ZIP page can include
A ZIP holds one page, with index.html at the top level. Only the files the page uses are uploaded.
| Code | .css .js |
|---|---|
| Images | .png .jpg .jpeg .webp .gif .svg |
| Audio | .mp3 .wav .ogg .oga .m4a .aac .flac |
| Video | .mp4 .webm |
| Fonts | .woff .woff2 .ttf .otf |
| Data | .json .csv .txt |
| 3D | .glb .gltf .obj .mtl .stl |
Size limits
| Any uploaded file (PDF, Office, 3D, video, download) | 25 MB |
|---|---|
| An image | 8 MB |
| A text or HTML file dropped into Code Studio | 8 MB |
| A single HTML file through Import | 2 MB |
| A ZIP page, after its pictures are compressed | 25 MB |
| A ZIP file before it is opened | 300 MB |