Markdown to HTML
Convert markdown to html with pandoc. Runs entirely on your device.
Runs on your device. The file is never uploaded.
Markdown to HTML runs pandoc over a Markdown file and writes the body content: headings, lists, tables, links and code blocks, under your own name with the .html extension. No options are passed, so there is no doctype, no wrapper element and no styling. An image link keeps your path, and the picture is never read.
Questions
Do I get a complete HTML page or a fragment?
A fragment. Pandoc runs without its standalone option here, so the output is the body content of your Markdown: headings, paragraphs, lists, tables and links, with no doctype, no html, head or body wrapper and no CSS. That is what you want when you are pasting into a template or a CMS. If you need a page you can open in a browser directly, paste the fragment inside your own page skeleton.
What happens to my images?
Image links become img tags pointing at exactly the path or URL your Markdown used. No image data is read or embedded, because the tool hands pandoc the text of your Markdown and nothing else. A picture stored next to your document still has to travel with the HTML at the same relative path, or the tag will point at nothing.
Are tables, footnotes and code blocks converted?
Yes. Pandoc reads its own extended Markdown, so pipe tables, grid tables, footnotes, definition lists and fenced code blocks are all understood, and the HTML writer turns them into table, footnote link and pre code markup. Code blocks with a language name are syntax highlighted by pandoc. If you name a language pandoc does not know, it prints a warning in the browser console and leaves the block unhighlighted.
Does it upload my document?
No. The converter is pandoc compiled to WebAssembly, running in a Web Worker inside this tab. Your file never leaves the machine, there is no account and no quota, and after the first visit the whole site works with the network off. The request counter on the homepage stays at zero while you convert.
How do I convert HTML back to Markdown?
Use HTML to Markdown, which is the same pandoc engine pointed the other way. Be aware that a round trip is not lossless: Markdown has no place to keep CSS, scripts or layout, so anything you add to the HTML by hand will not survive the trip back.
Why did I get "pandoc produced no output converting markdown to html"?
That error means pandoc finished with an empty result. The tool treats empty output as the failure signal, not a non-empty stderr, because pandoc writes ordinary warnings there too. When pandoc did report a real error, the first line of it is shown instead of that generic message. An empty input file is the usual cause; check that you dropped the file you meant to.