Markdown Converter
Paste Markdown below and download it as a PDF, a Word document, HTML or plain text. Every conversion runs in your browser. To go the other way, from HTML, a web page, PDF, Word, CSV or JSON to Markdown, pick a converter further down.
Which format should I convert Markdown to?
Pick the format by what the reader will do with it:
| If you need to… | Convert to | Why |
|---|---|---|
| Send a finished document | Layout is fixed; math and diagrams are drawn | |
| Someone needs to edit or comment | Word (.docx) | Tracked changes and comments work |
| It has to end up in Google Docs | Google Docs | Formatted paste or a .docx to upload |
| Put it on a web page or CMS | HTML | Body fragment, no inline styles |
| Paste into a form, SMS or plain email | Plain text | No symbols left behind |
| Send as a formatted email | Email HTML | Styles inlined for email clients |
| Present it | Slides | One slide per --- section |
Convert from Markdown
Markdown to PDF
A print-ready PDF with tables, highlighted code, KaTeX math and Mermaid diagrams. Three styles and a B&W mode.
Markdown to Word (DOCX)
An editable .docx with Word heading styles, real tables and real footnotes.
Markdown to Google Docs
Copy as formatted text to paste into a Doc, or a .docx to upload. Covers Google's own Paste from Markdown too.
Mermaid to PDF
Raw Mermaid code or Markdown with diagrams to a PDF with the diagrams drawn.
GitHub README to PDF
Fetch a public repo's README with images fixed up and save it as a PDF.
Markdown to HTML
A clean HTML fragment with GFM tables, task lists and language classes on code.
MD to TXT (plain text)
Strips the syntax but keeps code, table columns and link URLs.
Markdown to Slides
Split on --- into slides and present in the browser.
Markdown to Image
Render Markdown to a PNG or JPG for sharing.
Markdown to Email
HTML with inline styles that email clients keep.
Markdown to BBCode
Forum-ready [b]BBCode[/b] from Markdown.
Convert to Markdown
HTML to Markdown
Paste HTML source, get GFM Markdown.
URL to Markdown
Fetch a web page and keep only the main article as Markdown.
Paste to Markdown
Paste formatted text from Docs, Word or a web page.
PDF to Markdown
Pull the text layer out of a PDF with headings detected.
Word (DOCX) to Markdown
Headings, lists, links and tables from a .docx.
CSV to Markdown
CSV or TSV into a Markdown table.
Excel to Markdown
A sheet from .xlsx, .xls or .ods into a Markdown table.
JSON to Markdown
Arrays become tables, objects become sections.
XML to Markdown
Readable Markdown from XML data.
YAML to Markdown
Document a YAML config as Markdown.
How do I convert a Markdown file?
Open the .md file in any text editor, copy everything and paste it into the box above, then pick a format. The plain-text and HTML pages have an Upload button for .md files, and the PDF page also accepts a dragged-in file.
The same parser (markdown-it, with tables, task lists, footnotes and math) drives every Markdown output here, so a table that previews correctly also exports correctly. YAML front matter at the top of the file is left out of the output rather than printed as a stray heading.
What gets lost when converting Markdown?
Less than you might expect, but each format has limits. Plain text cannot show bold or tables, so tables become aligned columns. Word gets tables, footnotes and diagrams, but maths stays as LaTeX source and images become links. PDF keeps everything that the preview shows, including typeset maths and Mermaid diagrams. Each converter page lists its edge cases (tables, code, front matter, images, emoji, math) with the exact result.
How does MDConvert compare with Pandoc?
Pandoc converts between dozens of formats from the command line and is the better choice for batch jobs, build scripts, citations and custom templates. It has to be installed, and PDF output needs a LaTeX engine as well. MDConvert covers the common one-off case: one document, a live preview, no install, and nothing uploaded.
| MDConvert | Pandoc | Upload-based online converters | |
|---|---|---|---|
| Install | None | CLI, plus LaTeX for PDF | None |
| Files leave your device | No (except URL fetch) | No | Yes |
| Live preview | Yes | No | Usually no |
| Batch / scripting | No | Yes | Sometimes, via API |
| Formats | PDF, Word, HTML, text, slides, image, email, BBCode; 10 formats into Markdown | Dozens in each direction | Varies |
Markdown converter questions
What is a Markdown converter?
Is MD the same as Markdown?
Is this Markdown converter free?
Are my files uploaded?
Which Markdown flavour is supported?
Can I convert many files at once?
Maintained by Ankit Aglawe. Last updated . More tools: editor, formatter, table generator and more.