Markdown to HTML — Live Converter
GitHub Flavored Markdown, syntax highlighting, Table of Contents, HTML→Markdown reverse, 4 preview themes, keyboard shortcuts.
GitHub Flavored Markdown, syntax highlighting, Table of Contents, HTML→Markdown reverse, 4 preview themes, keyboard shortcuts.
GitHub Flavored Markdown (GFM) extends standard Markdown with extra features: tables (using | syntax), task lists with checkboxes (- [ ] and - [x]), strikethrough text (~~like this~~), fenced code blocks with syntax highlighting (```language), and autolinks. GFM is the format used on GitHub for README files, issues, and pull requests.
Paste your Markdown text into the left editor pane. The HTML output and rendered preview update automatically in real time as you type. Use the tabs on the right to switch between the rendered Preview, raw HTML Source, and auto-generated Table of Contents. Click "Copy HTML" to copy the output to your clipboard, or "Download HTML" to save it as a file.
Yes. Click the "⇄ HTML → MD" button in the toolbar to switch to reverse conversion mode. Paste your HTML into the left pane and the Markdown equivalent will appear in real time on the right. The reverse conversion uses the open-source Turndown library for accurate HTML to Markdown translation, supporting tables, code blocks, lists, and all standard elements.
Switch to the "TOC" tab on the right pane to see an auto-generated table of contents based on all h1–h6 headings in your Markdown document. Each item is indented according to heading level and links directly to the corresponding section in the preview. All headings in the preview also get clickable anchor links (# symbol on hover) for easy sharing.
The editor supports: Ctrl+B (bold — wraps selection in **), Ctrl+I (italic — wraps in *), Ctrl+K (link — inserts [text](url) pattern), Ctrl+Shift+C (inline code — wraps in `backticks`), Ctrl+S (download the converted HTML file). On Mac, use Cmd instead of Ctrl. Tab inserts 2 spaces for consistent indentation.
Your content is 100% private. All Markdown to HTML conversion runs entirely in your browser using the marked.js library — nothing is ever sent to any server. There is no account required, no tracking of what you write, and the tool works offline once the page is loaded. Your documents stay on your device.