Preview and editing

Most files open right in the browser, with nothing to install.

On this page
  1. What opens in the browser
  2. Editing Excel workbooks
  3. Editing Word documents
  4. Editing text files
  5. Markdown
  6. Thumbnails
  7. When two people edit the same file

What opens in the browser

TypeViewEdit
Pictures (.jpg, .png, .gif, .webp, .avif, .svg, .bmp, .ico)Yes
Video (.mp4, .webm, .mov)Yes
Audio (.mp3, .wav, .ogg, .flac, .aac, .m4a)Yes
PDFYes
Word (.docx)YesYes
PowerPoint (.pptx)Yes
Excel (.xlsx)YesYes
Markdown (.md)Yes, as a formatted pageYes
Text and code, including HTML and XML (shown as text, never as a page)YesYes

Double-click a file to open it in a tab. To go to the previous or next file of the same folder, press ← or →, or click the arrows at the right of the toolbar. The files come in the order the folder is sorted in, and once the whole folder has loaded, the status bar shows where you are (for example 3 of 12). While you are typing in a file, or the cursor is in a video's controls, the arrow keys keep their usual job there; click outside first.

Text and code files larger than 5 MB, and Word, PowerPoint and Excel files larger than 50 MB, are too large to open in the browser: download them instead.

Most browsers can't show HEIC, TIFF or Photoshop pictures, AVI, MKV, WMV or FLV videos, or WMA and AIFF sound, so these offer a download button instead. The same happens when your browser can't play a particular video or sound file.

Editing Excel workbooks

Open a workbook and click Edit workbook.

A workbook open for editing

In a workbook that is only being viewed, screen readers find the cells shown on screen in a table after the sheet. Scroll the sheet with the arrow keys and the table follows.

Saving changes only the cells you edited. Charts, pictures and everything else in the workbook stay as they were.

Workbooks larger than 20 MB can be viewed but not edited online. Download them and use Excel instead.

Editing Word documents

Open a document and click Edit document. It is shown as one long page, with its fonts, sizes, spacing and list numbers. Page breaks aren't shown while editing, and headers and footers are edited on their own.

Saving changes only the paragraphs you edited. Everything else in the document stays as it was, and its previous content is kept as an earlier version.

Documents larger than 20 MB can be viewed but not edited online. Download them and use Word instead.

Editing text files

Text and code files open in an editor with colours for most programming languages. Press Ctrl + S to save.

Switching tabs while a save is still on its way keeps each file's edits separate. Text typed after saving started stays unsaved when the save finishes; save again to store it. Discarding a draft does not bring it back when an earlier save completes.

A file ThirtyFile doesn't recognise, such as Dockerfile, README or a file with an unusual extension, shows Preview isn't available for this file type. If it holds text, click Open in text editor to read and edit it there. This doesn't rename the file or change its type: it is only saved when you save it. Default view goes back; unsaved changes are kept and come back when you open the editor again.

Markdown

Markdown files open as a formatted page: headings, lists, tables, task lists and code. Switch to Edit above the page to change the text (Source when you may only view the file), and back to Preview to see the result, unsaved changes included.

The page is shown safely: HTML written in the file is not run and can't take on the look of ThirtyFile, links open in a new tab, and only pictures embedded in the file itself are shown. Pictures from other websites are left out, so opening the file doesn't tell those sites about it.

Thumbnails

In the icon views (Large icons, Medium icons and Tiles), pictures, PDFs and videos show a thumbnail. The server makes those of pictures. For PDFs (the first page) and videos (a frame near the start), the first browser of someone who may change the file makes the thumbnail and keeps it on the server, so everyone who can open the file in that space sees it from then on. People who may only view it see one made in their own browser until then. Videos your browser can't play, and PDFs larger than 200 MB, keep their icon. Thumbnails are kept in data/thumbs: those of a file in the content store go when its content is deleted for good, and any thumbnail nobody was shown for 30 days is removed (it is made again when someone looks at the file).

When two people edit the same file

If someone else saved the file while you were editing, your save is stopped and you are told, so nobody's work is overwritten without notice. Copy your changes, reload the file, and add them again.