Export as HTML

Download any file as one standalone web page. It's made on your device; the file never leaves it.

Run Export as HTML from the command palette (the button at the top of the page, or CTRL/CMD+P). The file downloads as a single .html file named after it, ready to open in any browser, send, or put on a website.

IncludedEverything Export as PDF prints: headings, lists, task boxes, tables, code, callouts, <details> sections (open or closed as in the file), Mermaid diagrams, math, embeds and vault images
StandaloneImages, diagrams and styles are inside the file, so it opens offline and loads nothing else (images the file links to on the web stay links)
LookA centred reading column that follows the reader's light or dark setting, and prints like the PDF

The page's title comes from the file's first heading, or its file name. Like Export as PDF, a file marked private can only be exported once you've shown it.