MDViewer
Rendered entirely in your browser · your files never leave your computer

MDViewer

A polished, full-featured Markdown reader: drop in a local folder and start reading, with Mermaid, KaTeX, syntax highlighting, full-text search and outline navigation.

See syntax showcase

You can also drag a folder or a .md file onto this page · press O to open a folder · ? for all shortcuts

Math formulas

KaTeX renders inline $E=mc^2$ and display formulas, including matrices, alignment environments and common chemistry macros.

Diagrams

Mermaid flowcharts, sequence, class, state, Gantt, pie, ER and mind-map diagrams, recoloured automatically with the theme.

Syntax highlighting

Highlighting for all mainstream languages, with line numbers, soft wrapping, collapsing of long blocks and one-click copy.

Better tables

GFM tables gain click-to-sort headers and horizontal scrolling, so wide tables never break the layout.

Full-text search

Builds an offline index over the whole folder, fuzzy-matching titles and body text and highlighting every hit.

Local images

Relative image paths in Markdown resolve automatically; click to enlarge, drag to pan and scroll to zoom.

Reading comfort

Dark mode, adjustable type size, line height and column width, a serif toggle, reading progress and position memory.

Edit mode

Write Markdown on the left, preview live on the right, and press Ctrl+S to write straight back to the original file. Drafts are kept automatically.

Export & share

Export a single HTML file with styles and images inlined, or a PDF with your choice of paper size, margins and page breaks.