What is a Markdown editor?
Markdown is a way of writing formatted text in plain characters. A line starting with # becomes a heading, **word** becomes bold, and - item becomes a bullet. It is used for README files, documentation, forum posts and many blogging tools, because the source stays readable even before it is rendered.
This Markdown editor is split into two panels. Type in the left box and the right panel shows the rendered result as you type. The toolbar has seven buttons: B, I, Code, H1, H2, List and Link. Bold, italic and code wrap whatever text you have selected. The others insert their markup at the cursor. Under the panels, Copy HTML, Download HTML and Clear finish the job.
Rendering is done by the open-source marked library, which follows common Markdown and GitHub-style extras such as tables. The exported HTML is an unstyled fragment, not a full web page, so add your own head and CSS. The editor does not save your work, so copy or download it before leaving.
How to write and export Markdown here
- Click inside the left box and start writing, for example
# My titlefollowed by a paragraph. The preview on the right updates as you type. - Select a word and click B, I or Code to wrap it in
**,*or backticks. - Click H1, H2, List or Link to insert
#,##,-or[text](url)at the cursor position. Put the cursor at the start of a line first. - Check the right panel. If something looks wrong, such as a list that does not appear, add a blank line before it.
- Click Copy HTML to copy the generated HTML, or Download HTML to save it as markdown.html.
- Click Clear to empty the editor and reset the preview.
What this Markdown editor includes
Live two-panel preview
The preview re-renders on every keystroke, so you see headings, lists, links and code blocks as they will appear.
Seven toolbar buttons
Bold, italic and code wrap your selection. H1, H2, List and Link insert markup at the cursor.
Copy HTML
Copies the rendered HTML of the preview, ready to paste into a CMS HTML block or an email builder.
Download HTML
Saves the rendered HTML as a file called markdown.html. It is a fragment without html, head or body tags.
Standard Markdown support
Handled by the marked library: headings, emphasis, lists, links, images, blockquotes, code and tables.
Mobile layout
On narrow screens the two panels stack, with the editor above the preview.
Who uses it, and for what
- Developers writing a README. Draft headings, lists and code blocks and check how they render before committing the file.
- Bloggers and content writers. Write in Markdown, copy the HTML, and paste it into a WordPress Custom HTML block or another CMS. To check the length first, use the word counter.
- Technical writers. Preview documentation snippets, tables and links before they go into a docs system.
- Students and note takers. Learn Markdown by seeing each symbol change the preview straight away.
- Web designers. Generate clean HTML from text, then tidy it with the HTML formatter or turn a table into Markdown with CSV to Markdown.
Tips and limits to know about
- Put a blank line before and after lists, headings and code blocks. Missing blank lines are the usual reason something does not render.
- For H1, H2 and List, click at the start of an empty line first, because the button inserts text where the cursor is, not at the start of the line.
- Bold, italic and code with nothing selected insert the markers with nothing between them. Type between them after.
- Copy HTML and Download HTML show a Write some Markdown first alert when the editor is empty, so there is nothing to export.
- Raw HTML inside your Markdown is passed through to the preview. Only paste HTML you trust.
- The exported HTML has no styling. Add your own CSS, or tidy the markup with the HTML formatter.
Is it safe? Privacy and limits
Your Markdown is rendered in your browser, and this tool does not upload it or store it. The page does load the marked library from the jsDelivr content network, so a network connection is needed for the preview to work, but only the script is fetched, not your text. The preview does not sanitise raw HTML, so do not paste untrusted code. Nothing is saved between visits.
Markdown editor FAQ
Markdown is a lightweight writing format created by John Gruber in 2004. You mark up plain text with simple symbols, for example # for a heading, * for emphasis and - for list items, and a converter turns it into HTML. Its main advantage is that the raw text is still easy to read. It is widely used for README files, documentation, notes and blog posts. Many tools, including GitHub, static site generators and note apps, can read it.
Each time you type in the left box, the editor passes the text to the marked library, which converts it to HTML, and puts the result into the right panel. The toolbar buttons also trigger a refresh. There is no Preview button and no delay setting. If the preview stays blank or does not update, the marked script may not have loaded, so check your connection and reload the page.
It copies the HTML behind the preview panel, which is the output of the Markdown conversion: tags such as <h1>, and . It is not the Markdown source and not a complete page. Paste it into any place that accepts HTML, such as a WordPress Custom HTML block. If you want the source instead, select the text in the left box and copy it yourself.
No. The Download button saves the rendered HTML as markdown.html, not the source. To keep your Markdown, select all the text in the left box and copy it into a file in your editor, or paste it into your notes. The page does not save your work, so closing or refreshing the tab erases it. Copy it first if the document matters. Do the same for the HTML if you need it later.
The converter is marked, which supports GitHub-flavoured Markdown by default. That includes tables written with pipes, fenced code blocks with triple backticks, strikethrough and task lists such as - [ ] item. The preview shows them unstyled apart from the page's default styles, so tables will not have borders unless the page's CSS adds them. Exported HTML will need your own CSS. Check one table or list in the preview before you write a whole document.
Most often a blank line is missing, or the marker is not at the start of the line. A list needs a blank line before it if it follows a paragraph, and headings need # at the start of the line followed by a space. The H1, H2 and List buttons insert text wherever your cursor is. Click at the start of an empty line first, then press the button. A space after the hash is required.
No. The conversion runs in your browser, and the tool sends your text nowhere and keeps nothing between visits. The only network request is for the rendering library itself. Because nothing is saved, copy or download your work before you leave. Avoid pasting untrusted HTML, since the preview does not strip scripts or event attributes from raw HTML in the text. Clear removes everything at once. Press Clear only when you are sure.
It is good for a rough preview of headings, lists, links and code blocks, which look much the same on GitHub. Small differences exist, since GitHub has its own renderer and extras such as emoji codes, mentions and automatic link references. Use this tool for drafting, then check the final result on GitHub. For the final text length, see the word counter. Plain Markdown features carry over without trouble.