📁

File Preview

Upload a folder or files, then step through them with Prev/Next or scroll continuously. Optimized for .md files — other file types get a best-effort preview.

Drag & drop files or a folder here, or click to browse
No files uploaded yet.

About File Preview

File Preview lets you upload a whole folder — or a handful of individual files — and step through them right in your browser, without any of it leaving your machine. It is built around .md files: any Markdown file renders through the same marked + DOMPurify pipeline used by the Markdown Preview tool, so headings, tables, task lists, and code blocks show up formatted, not as raw text.

Other file types still get a best-effort preview: plain-text-like files (.txt, .json, .css, .py, and more) render as readable text, images render inline, and anything binary (zip archives, executables, etc.) shows a placeholder with the file name and size instead of failing silently. Browse with a Slider — one, two, or three files side by side with Prev/Next paging — or switch to Infinite Scroll to stack every file in one continuously scrollable list, vertically or horizontally. Your last-picked view mode is remembered for next time.

Common Use Cases

How to Use

  1. Click "Upload Files" for individual files, "Upload Folder" to pull in an entire directory, or drag and drop onto the dropzone.
  2. Click any chip in the file strip to jump straight to that file.
  3. Use the Prev/Next arrows in Slider view, and pick 1, 2, or 3 files to show per view.
  4. Switch to Infinite Scroll to see every file stacked in one list, and toggle Vertical/Horizontal to change the scroll direction.

Frequently Asked Questions

Do my files get uploaded to a server?

No. Every file you select is read directly in your browser using the File API — nothing is sent over the network. Closing or refreshing the tab clears everything.

What happens with file types that can't be previewed?

Binary or unrecognized file types (zip, exe, and similar) still show up in the file strip and can be selected, but the preview area shows a placeholder with the file name and size instead of attempting to render content that isn't visual or text-based.

Does the view mode preference get saved?

Yes. Your choice of Slider vs. Infinite Scroll, items per view, and scroll direction are saved to your browser's localStorage, so the next time you open File Preview it opens in the same mode.

Advertisement