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.

TypeExtensionsHow it shows
PDF.pdfIts 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 .pptxMicrosoft's online viewer, in the page. The eye on the file switches it to a download chip.
Images.png .jpg .jpeg .webp .gif .svgIn 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 .webmPlayed 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 .stlA 3D viewer you can turn around.
A whole website.html .htm .zipOpens 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 .jsonOpens 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 .blendA 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.

WayAcceptsGood to know
Type or pasteText, Markdown or HTML codePress Run to preview it before you submit.
Upload a page.html .htm .txt .md .zipOne file. A ZIP runs as a page, with index.html at the top.
Add images.png .jpg .jpeg .webp .gif .svgSeveral at once, or paste from the clipboard. Place them with [img01], [img02].
Write on sheetPen on the task's PDFOnly when the task has a PDF among its files. Each written page is saved as a picture.

How submissions differ from making a page

FileMaking a pageSubmitting an entry
HTML, text, ZIP pageYesYes
ImagesYesYes
PDFYes, shown as pagesNot as an attachment. You write on the task's PDF if it has one.
Word, Excel, PowerPointYes, shown in the pageNo
Video, 3D modelsYes, played or shown in the pageOnly inside a ZIP page
Other downloadsYes, as a download chipNo

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 image8 MB
A text or HTML file dropped into Code Studio8 MB
A single HTML file through Import2 MB
A ZIP page, after its pictures are compressed25 MB
A ZIP file before it is opened300 MB