Turn a .md file into the HTML behind it
Processed in your browser. Nothing is uploaded. Updated on 24 Oct 2026.Drop a .md file and get the HTML it describes: headings, lists, links, tables, quotes and fenced code as ordinary tags, ready to paste into a template, a CMS field or an email. Nothing is added, so there is no stylesheet and no wrapper markup to unpick. Any raw HTML inside the Markdown passes through a safety list first, which removes scripts, inline styles and event handlers before you ever see the result.
Drop the .md file onto the page, or click the drop area to choose it.
Read it formatted in the What we read pane with Rendered selected, or press Text for the raw Markdown.
Press Convert to HTML to turn the Markdown into an HTML page.
Press Copy for the HTML code, or Download .html to save it.
Drop a document and the tool reads its first bytes to work out what it really is, rather than trusting the name on the end of it. If the two disagree it says so once and carries on with the truth. Then it offers the conversion you almost certainly came for as a single button, with what that conversion costs written out above it, before you press anything.
It covers the pairs a browser can do properly. Markdown becomes HTML, plain text or a PDF. HTML becomes Markdown, plain text or a PDF. A Word .docx becomes HTML, Markdown or plain text. A PDF gives up its text as plain text, Markdown or HTML. A plain text file becomes a PDF, an HTML page or Markdown. An RTF gives up its words.
It also refuses, in plain words, the pairs it would do badly. A .docx going to PDF is sent to Word to PDF, which lays the document out on a real page and shows you page one first. A PDF going to Word is sent to PDF to Word, which reads the sizes and positions in the file to rebuild headings and lists. For PDF to Markdown or HTML, headings and lists are worked out the same way and the page says so before it runs; switch that off for plain paragraphs.
The rest of the article, and all 6 questions about Document Converter, are on the Document Converter page.
Markdown to HTML, plain text or PDF. HTML to Markdown, plain text or PDF. Word (.docx) to HTML, Markdown or plain text. PDF to plain text, Markdown or HTML. Plain text to PDF, HTML or Markdown. RTF to plain text. Each pair has its own page with its own explanation of what it keeps and what it drops.
Detection reads the first bytes of the file and matches them against a table of format signatures, which is how your operating system does it too. The name is used only as a tiebreaker, because zip-based formats such as .docx and .xlsx share one signature. If the name says .md and the bytes say PDF, the tool tells you once and then treats it as a PDF.
No. Reading the .docx, extracting the PDF text, rendering the Markdown and writing the new file all happen in the page you have open. Nothing is sent to a server and nothing is stored, so a contract, a medical letter or an unpublished draft never leaves your device.
A scan is a photograph of a document, not a document. There is no text inside the file to extract, so there is nothing to convert. Reading it needs optical character recognition, which is a different job; the tool says so rather than handing you an empty file.
Still stuck? Ask about Document Converter and anybody who knows can answer. No account needed.
Same job, other tools: EPUB to Markdown – Turn an e-book into Markdown with its headings, italics, bold and lists kept.
On the related tools: VCF to Excel – Open phone contacts in Excel, one row per contact, each number in its own column.
In the collections File Converter · Office File Tools.