Markdown Editor & Preview

Local only

Write, inspect, preview, and export professional Markdown documents locally.

1/12
welcome.md1,034 bytes
---
title: A private Markdown workspace
description: A complete example document for Nobuf
author: Nobuf
tags:
  - markdown
  - documentation
draft: false
---

# Markdown Editor & Preview

Write technical documents, README files, notes, and articles without uploading anything.

## What you can do

| Feature | Status | Notes |
| :--- | :---: | ---: |
| Live preview | ✅ | Local |
| Task lists | ✅ | Interactive |
| Math & diagrams | ✅ | On demand |

- [x] Open the example
- [ ] Edit some **Markdown**
- [ ] Export a clean document

> Your document remains in this browser. Remote images are blocked by default.

### Code

```ts
interface Document {
  title: string
  private: true
}
```

### Math

Inline math looks like $E = mc^2$.

$$
\int_0^1 x^2 \, dx = \frac{1}{3}
$$

### Mermaid

```mermaid
flowchart LR
  Write --> Preview
  Preview --> Export
```

Read the [CommonMark specification](https://commonmark.org/). This sentence has a footnote.[^local]

[^local]: Parsing, rendering, saving, and exporting happen locally.
Live preview
0.0 ms

This document is empty

Start writing in the editor to see a private live preview.

Ln 1, Col 10 characters0 min read SavedReadyExtended
Markdown, images, history, and exports stay in this browser.Remote images: blocked

How to use it

  1. 01

    Write and organize

    Open multiple local documents, use CodeMirror formatting tools, navigate the outline, and keep editor state for every tab.

  2. 02

    Preview and inspect

    Render GFM, footnotes, math, diagrams, tasks, and highlighted code through an XSS-sanitized live preview with source mapping.

  3. 03

    Save and export privately

    Auto-save documents and history in IndexedDB, then export Markdown, safe HTML, ZIP, PDF, project JSON, or a client-only share link.

Frequently asked questions

Are my Markdown files uploaded?

No. Editing, parsing, sanitization, images, history, imports, and exports run in your browser. Documents are stored only in this browser's IndexedDB when auto-save is enabled.

Can Markdown execute scripts or unsafe HTML?

Raw HTML is disabled by default. When safe HTML is enabled, DOMPurify still removes scripts, event handlers, iframes, dangerous SVG, and unsafe URL protocols.

How are Mermaid and math supported?

KaTeX and Mermaid load from the static application bundle only when the document needs them. Mermaid runs in strict security mode and its generated SVG is sanitized again.

Can I generate PDF without a server?

Yes. Print mode shows only the document preview with pagination-friendly styles, so your browser can print or save it as PDF without a server API.

Keep working with other private browser utilities.

All tools

All processing happens locally in your browser.

© 2026 Nobuf

Nobuf

Fast, private utilities powered by your browser.