Markdown Editor & HTML Converter
Write Markdown with a live preview, build tables in a grid, see the HTML or import HTML as Markdown. Export .md or .html.
Runs in your browser. Nothing is uploaded.
Paste from a spreadsheet, CSV or an existing Markdown table
Outline
How to use the Markdown Editor & HTML Converter
- Start typing Markdown in the left box, or press Load example. The preview on the right updates as you type.
- Use the formatting bar or shortcuts (Ctrl+B bold, Ctrl+I italic, Ctrl+K link) to add headings, lists, tables, code blocks and more.
- Choose Editor and preview, Editor only, Preview only or Editor and HTML code in the View menu. The ▦ button opens a grid for building tables.
- To convert HTML, press Import HTML and paste it, or open an .html file. It becomes Markdown in the editor.
- Download the result as a .md or .html file, or copy the HTML. Your draft is saved in this browser automatically.
Write Markdown and see the result
Markdown is a plain-text way to write formatted documents. A # makes a heading, **two stars**
make bold text, a dash starts a list. It is used for README files, documentation, notes, blog posts,
issues and pull requests on code hosting sites, and many note-taking apps. Because it is plain text,
it works with version control and any editor, but you cannot see the final formatting while you type
in a plain text box.
This editor shows your Markdown and its rendered result side by side. Type on the left and the preview on the right updates immediately, so you can check headings, tables and lists as you go.
Formatting without memorising syntax
The formatting bar inserts the right syntax around your selection: bold, italic, strikethrough, inline code, links, three heading levels, quotes, bulleted, numbered and task lists, code blocks, a table template and a horizontal rule. Common shortcuts work too: Ctrl+B for bold, Ctrl+I for italic and Ctrl+K for a link (Cmd on a Mac). It is a quick way to learn Markdown, since you see exactly what each button adds.
Built for longer documents
- Views: switch between editor and preview side by side, editor only for focused writing, preview only for reading, or editor and HTML code to see the markup your Markdown produces.
- Outline: a list of your headings that jumps to each section, useful in long READMEs and notes.
- Statistics: words, characters, lines and an estimated reading time.
- Autosave: your draft is kept in this browser, so a closed tab does not lose your work.
Markdown to HTML and back
Set View to Editor and HTML code to see the HTML for your Markdown as you type, ready to copy
into a CMS, an email template or a website. Going the other way, Import HTML turns HTML into clean
Markdown: paste it into the import box, or open a saved .html page. Headings become # lines, lists and
tables keep their structure, links and images keep their addresses and alt text, and the <head>,
styles, scripts and embedded frames are dropped. It is a quick way to move old blog posts or CMS pages
into a Markdown-based site.
Build tables in a grid
Markdown tables are tedious to type by hand: every row needs the same number of pipes, and a header
separator such as | --- | ---: | sets the alignment. The ▦ button opens a small
spreadsheet instead. Type in the cells (Enter moves down and adds a row at the end), add or remove
rows and columns, and pick Left, Centre or Right for each column. Paste a range copied from Excel,
Google Sheets or Numbers, a CSV snippet, or an existing Markdown table to edit it; number columns are
right-aligned automatically. Line up the pipes pads every column so the source reads as neatly as
the preview. Copy or download the table, or insert it at the cursor in your document.
Export
Download your text as a .md file named after the first heading, or as a standalone .html page with
clean styles that opens anywhere. Copy HTML puts the rendered HTML on your clipboard for a CMS,
an email template or a website.
The editor runs entirely in your browser. Nothing you write is uploaded, and the preview cannot run scripts.
Frequently asked questions
Which Markdown features are supported?
GitHub Flavored Markdown, including headings, bold, italic, strikethrough, links, images, block quotes, ordered and unordered lists, task lists, tables, inline code and fenced code blocks.
Where is my draft saved?
In your browser's local storage on this device, under this site. It is never uploaded. If storage is blocked, for example in some private windows, the editor still works but the draft is not kept between visits, so download your file before closing the tab.
Can the preview run scripts from my Markdown?
No. The preview is shown in a sandboxed frame that does not allow scripts, so pasted HTML cannot run code or reach the page. Links open in a new tab.
What does the .html download contain?
A complete web page with your rendered Markdown, a title taken from the first heading and simple built-in styles. It needs no other files and opens in any browser.
How do I make a Markdown table?
Press the ▦ button in the formatting bar to open the table builder. Type in the grid, or paste cells from Excel, Google Sheets, CSV or an existing Markdown table, and set each column's alignment. Copy the result, download it, or press Insert into editor to add it to your document.
Can it convert HTML to Markdown?
Yes. Press Import HTML and paste HTML from a web page, CMS or email, or open an .html file. Headings, lists, links, images, tables and code become Markdown, while scripts, styles and page furniture are left out.
Tutorials
How to move a blog post from HTML to Markdown
Convert a saved blog post to Markdown for a static site, keeping headings, lists, links, a table and images while dropping scripts and styles.
How to turn spreadsheet cells into a Markdown table
Copy cells from Excel or Google Sheets, import them into the Markdown Editor's table builder, set column alignment and paste a tidy table into your README.
How to write a README.md file with a live preview
Write a clear README for a project with headings, install commands, a feature list and code blocks, check it in the preview and save it as README.md.