About
AG MD
Markdown · HTML two-way conversion
AG MD is a free tool that turns Markdown documents into HTML, or HTML into clean Markdown. It is handy when writing blogs, READMEs, docs and emails, or when tidying up HTML copied from the web into Markdown. You can review the converted result as a rendered preview and as source code at the same time.
Key features
- Two-way conversion: Markdown → HTML / HTML → Markdown
- Live preview that renders as you type
- Switch between preview and source code tabs
- Formatting toolbar: bold, italic, heading, link, list, quote, code
- Character count, word count and estimated reading time
- One-click copy and .html / .md file download
Supported syntax
It supports standard CommonMark / GFM Markdown syntax, including headings, bold and italic, lists, links, images, blockquotes, inline code and code blocks, tables and horizontal rules.
Privacy
All conversion happens entirely inside your browser. Your input is never sent to or stored on a server, and the preview is safely sanitized before it is shown. It even works while offline.
Frequently Asked Questions
Can it convert both Markdown to HTML and HTML to Markdown?
Yes. Use the mode switch at the top to pick a direction. 'Markdown → HTML' turns a Markdown document into web-ready HTML, and 'HTML → Markdown' turns HTML into clean Markdown. In both cases you can see the rendered preview and the source code together.
Is my input sent to a server?
No. All conversion happens entirely in your browser, and no data is ever sent to or stored on a server. It even works while offline.
Which Markdown syntax is supported?
It supports standard CommonMark/GFM syntax: headings, bold and italic, lists, links, images, blockquotes, inline code and code blocks, tables, horizontal rules and more. Use the toolbar buttons to quickly wrap selected text in formatting.
How do I take the result with me?
Use the 'Copy' button in the result panel to place the code on your clipboard, or the 'Download' button to save it as an .html or .md file. The preview tab shows the rendered look, and the code tab shows the actual source.