✍️ My Private Writer

A split-screen Markdown editor that lives in your browser tab.

Write Markdown on the left and watch it render live on the right — with line numbers, syntax-highlighted code, Mermaid diagrams, and multiple documents in tabs. Export to Markdown, HTML, PDF, or plain text.

Everything runs locally. Nothing you write ever leaves your device.

Free Private No sign-up Works offline*

User Manual

Overview

My Private Writer is a split-pane Markdown editor. The left pane is your raw Markdown source (with line numbers); the right pane shows a live, rendered preview that updates as you type. A toolbar inserts Markdown syntax for you, and a tab bar lets you keep several documents open at once. Code blocks are syntax-highlighted, mermaid code blocks render as diagrams, and all rendered HTML is sanitized for safety. Your documents autosave to this browser and never reach a server.

*Offline: the app loads its rendering libraries from a CDN the first time you open it. Once cached by your browser, it keeps working offline.

Getting Started

Writing

Type Markdown in the left pane. The preview on the right refreshes automatically. Use the toolbar buttons (or shortcuts) to insert formatting without remembering the symbols.

Opening a file

Click Open to load a .md, .markdown, or .txt file. It opens in a new tab.

Autosave

All open documents are saved to your browser automatically and restored when you return.

Documents & Tabs

ActionHow
New documentClick the + in the tab bar (or Ctrl/⌘ + T).
Switch documentClick its tab.
RenameDouble-click a tab and type a new name. The name is used as the export filename.
CloseClick the × on a tab. You are warned if it has content.

The Toolbar

Each button inserts Markdown into the source pane, wrapping your current selection where it makes sense.

ButtonInserts
H1 H2 H3Heading prefixes (#, ##, ###).
B / I / SBold **…**, italic *…*, strikethrough ~~…~~.
</>Inline code `…`.
•≡ / 1.Bullet and numbered lists.
Blockquote.
{ }Fenced code block.
🔗 / 🖼Link and image (prompts for URL).
A starter Markdown table.
📊A starter Mermaid diagram block.
Horizontal rule.

Code Highlighting

Put a language after the opening fence and code blocks are colour-highlighted in the preview, e.g. ```js, ```python, ```html. Without a language, highlight.js auto-detects one.

Mermaid Diagrams

A fenced block tagged mermaid renders as a diagram. Click the 📊 toolbar button for a starter flowchart, or write your own:

```mermaidflowchart TD; A-->B```

Mermaid also supports sequence diagrams, Gantt charts, pie charts, class diagrams and more. If a diagram has a syntax error, the preview shows the error inline so you can fix it.

Exporting

Click Export ▾. Files are named after the active document's tab title.

FormatWhat you get
Markdown .mdYour raw Markdown source — clean and portable.
HTML .htmlA complete styled page, including rendered diagrams and highlighted code.
Plain text .txtJust the words from the rendered document, no markup.
PDFOpens the browser print dialog on the rendered preview — choose Save as PDF.
Tip: For PDF, turn off "Headers and footers" in the print dialog for the cleanest result.

A note on alignment

Standard Markdown has no syntax for text alignment, so My Private Writer leaves it out to keep every export clean and portable. If you need aligned layouts and other visual styling, reach for My HTML Editor instead, which is built for hand-tuning HTML where alignment and layout are fully supported.

Keyboard Shortcuts

ShortcutAction
Ctrl/⌘ + BBold
Ctrl/⌘ + IItalic
Ctrl/⌘ + KInsert link
Ctrl/⌘ + TNew document tab
Ctrl/⌘ + SExport as Markdown
Ctrl/⌘ + OOpen a file
TabInsert two spaces (in the editor)

Privacy & Safety

My Private Writer processes everything locally in your browser — no data is transmitted to any server. Open documents are stored in localStorage and never leave your device. Rendered HTML is run through DOMPurify to strip any malicious markup before it is shown, so opening Markdown from untrusted sources is safe. Clearing your browser data removes saved documents, so export anything you want to keep.

Supported File Types

.md  ·  .markdown  ·  .txt

About this tool

Technologies used:

marked.js DOMPurify highlight.js Mermaid File API Blob / Print API localStorage Vanilla JS

Built with:

Claude Opus 4.8

← Back to Bunka.be