Editing & preview
Reading and changing file contents without downloading them first.
The text editor
Right-click a text or code file and choose Edit, or double-click it. The editor opens in a dialog over the browser, with syntax highlighting for the file's type.

Highlighting is available for PHP, JavaScript and TypeScript, CSS (also SCSS and LESS), HTML, JSON, SQL, XML and Markdown. The editor is offered for these extensions:
txt md markdown json xml yml yaml ini csv log
html htm css scss less js mjs jsx ts tsx
php sql sh conf env htaccess
Anything else is treated as binary and gets no editor.
Saving. Save stays greyed out until you change something. A dot after the file name in the title shows unsaved changes. If you click Close with unsaved changes, Next File Manager asks Discard changes? first, and Keep editing takes you back.
Saving writes the file back in place. It needs the edit permission in your profile, a writable drive, and an item that is not protected. On a read-only drive the editor still opens, so you can read the file, but Save stays off.
Several of the extensions above, such as env and htaccess, often match a protected pattern or the secret-file list. The editor then opens on them only for a Super User, and on .env files for nobody below one.
The editor is an app. An administrator can turn it off in Configuration → Apps, and Edit then disappears from the menus.
Previews
Double-click a file, or choose Open from its menu, to preview it in a full-screen viewer without downloading it.
| File type | How it is shown |
|---|---|
| Images | Shown full size, scaled to fit the screen |
| Video | Played in the viewer with the usual controls. Formats browsers play by themselves: MP4, M4V, WebM, OGV and MOV |
| Audio | Played in a small player card. MP3, WAV, OGG, OGA, M4A, AAC, FLAC, Opus and WEBA |
| Shown inside the viewer, using the browser's own PDF viewer |
Use the arrow keys, or the arrows at the sides of the screen, to move through the other previewable files in the same folder. In a large folder that loads in batches, the next batch loads as you reach the end. Press Esc to close the viewer.
Files that cannot be previewed open differently: a text or code file opens in the editor, and anything else downloads.
Video and audio are streamed in parts where the drive supports it, so you can skip ahead without waiting for the whole file. On a drive without that support the player has to load from the start. See the capability notes in Storage. Other video and audio formats, such as AVI, MKV or WMA, are not previewed; they download.
SVG files are not previewed. An SVG can carry script, so Next File Manager refuses to show it inside the page: doing so would be a cross-site scripting risk. Download it, or open it in the text editor.
Previewing a file adds it to your Recent list as You opened.
Thumbnails
In grid view, image files show a thumbnail of the picture instead of a type icon. The list view and the phone app use the same thumbnails as small pictures beside each name. Thumbnails load as they scroll into view, so a large photo folder does not download every picture at once.
Thumbnails are small copies made on the server. An administrator can switch them off with Generate image thumbnails in Configuration → Settings → General. Grid view then shows type icons for images too.
SVG images, video, audio, PDFs and other files show their type icon.
What is never previewable
Secret files cannot be previewed, read, downloaded or copied below Super User. These are the site's configuration file and its backups, .env files, *.key and *.pem key files, and .htpasswd. A preview is a read, and reads of these files are refused by the same check that refuses downloads.
See Protection.