Press Esc to leave focus mode.

Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+Z undo, Esc leaves focus mode

View

More about the Markdown editor

Markdown editor

Write in plain Markdown and watch it turn into clean formatted text as you type. Headings, lists, task lists, tables, quotes, links, images and code blocks with simple syntax highlighting all work, and the preview is cleaned so pasted scripts or unsafe links can never run. Keep several documents in your browser, write in focus mode and download the result as Markdown or HTML. Nothing is uploaded. Write Markdown on the left and see the formatted result on the right as you type. Use the toolbar or Ctrl+B, Ctrl+I and Ctrl+K for bold, italic and links, switch between editor, preview or both, and turn on focus mode to write without distractions. Your documents are saved automatically in this browser.

How it works

  1. Type or paste Markdown in the editor, load a .md file, or drop one onto the app. Use the toolbar or Ctrl+B, Ctrl+I and Ctrl+K for bold, italic and links.
  2. Watch the preview update as you type. Switch between split view, editor only and preview only, keep scrolling in sync, and press the focus button to hide everything except your text. Esc brings the controls back.
  3. Check the word count, characters and reading time, then download the document as .md or .html, copy the HTML, or save it as PDF, image or JSON. Every change is saved automatically in this browser.

Markdown with a safe preview

The editor understands the CommonMark basics and the popular GitHub additions: tables with alignment, task lists, strikethrough and links that are recognised automatically. Raw HTML in the text is shown as text instead of being run, links with javascript or other unsafe schemes are dropped, and the result passes an allow list before it reaches the page. Text you paste from somewhere else cannot attack your browser.

Write, organise and export

Create as many documents as you need and switch between them from the list. Each one is saved a moment after you stop typing, with undo and redo for your edits. Focus mode hides the toolbar and the preview so only the text remains. When you are done, download clean Markdown for a README or a static site, or a complete HTML page with simple styling.

Frequently asked questions

How is the reading time calculated?

The word count is divided by 200 words per minute and rounded up, so even a short note shows 1 minute. Markdown symbols and link addresses are not counted as words, and each Chinese or Japanese character counts as one word.

Which languages does the code highlighting know?

Write the language name right after the three backticks that open a code block, for example ```python. The editor highlights keywords, strings, comments and numbers in JavaScript, Python, C#, CSS, shell and SQL, and tags and attributes in HTML. Names such as TypeScript, JSON, Java, C++ or Bash use the closest of these; other languages are shown without colours.

Can I use HTML inside my Markdown?

For safety, no. HTML tags are shown as plain text in the preview and in the exported HTML. Use Markdown syntax for formatting, links and images instead.

How do I make a table in Markdown?

Write the header row with the cells between pipes, then a line of dashes such as | --- | --- |, then one row per line. Colons in the dash line align a column: :--- left, :---: centered, ---: right. The Insert table button adds a three-column table to start from.

Ready to try it?

Open PictorX in your browser — no install, no credit card required to start.

前往編輯器