🚧 We’re making Tools Pasal better. Found a broken tool or have an idea? Tell us →

Markdown Converter

Convert both ways: turn pasted rich text, raw HTML or a Word .docx into clean Markdown — or paste Markdown and render it to formatted HTML you can preview, copy or save as PDF. All in your browser. Nothing is uploaded.

Markdown → formatted HTML, preview & PDF
Paste or type Markdown
Rendered preview
Formatted output appears here…

Download PDF opens your browser’s print dialog — choose “Save as PDF”. Everything renders in your browser; nothing is uploaded.

How to use this tool

First choose a direction at the top — To Markdown or From Markdown.

To Markdown: pick an input tab. On Rich text, paste content you copied from Word, Google Docs, Notion, a CMS or a web page — the formatting is captured and converted. On HTML, paste raw HTML markup. On Word .docx, choose a document and it is parsed in your browser. The Markdown appears on the right; use Preview to see it rendered, then Copy or Download the .md file.

From Markdown: paste or type Markdown on the left and it renders live on the right. Then Copy HTML, Download .html, or Download PDF— the PDF uses your browser’s print dialog (choose “Save as PDF”), so it stays fully on your device.

Why convert to Markdown

Markdown is the plain-text format behind GitHub READMEs, static-site blogs, documentation, wikis and many note apps. Writing in Word or Google Docs and then converting saves you from re-formatting by hand, and because Markdown is just text it stays portable and version-control friendly. Tables come across as GitHub-Flavored Markdown, and headings, bold, italics, links, lists, quotes and code blocks are all preserved.

Private by design

The conversion happens entirely on your device using your browser — no document is sent to a server. That means you can safely convert unpublished posts, internal notes or client material. It also works fully with Nepali (Devanagari) text, since Markdown is Unicode plain text.

Working with code or data too? Try the JSON Formatter.

Frequently asked questions

What can this tool convert to Markdown?

Three things: formatted content you paste (copied from Word, Google Docs, Notion, a CMS or a web page), raw HTML you paste into the HTML tab, and Word .docx files you upload. All of them become clean Markdown you can copy or download as a .md file.

Can it convert Markdown to HTML or PDF?

Yes. Switch to the 'From Markdown' direction at the top, paste or type Markdown, and it renders live on the right. You can then Copy HTML, Download a standalone .html file, or Download PDF (via your browser's print dialog — choose 'Save as PDF'). It supports GitHub-Flavored Markdown including tables.

Is my content or file uploaded to a server?

No. Everything runs entirely in your browser — pasted text, HTML and .docx files are converted on your device and never uploaded. That makes it safe for private or unpublished documents.

Does it support tables and other GitHub-Flavored Markdown?

Yes. With the GFM option on (default), HTML tables become pipe-delimited Markdown tables, and strikethrough and task lists are preserved. Turn GFM off if you need plain CommonMark.

What happens to images in a Word document or pasted content?

You choose: Keep (as ![alt](src), which may be a large embedded data URI for Word files), Alt text only, or Drop them entirely. Use 'Drop' or 'Alt text only' to keep the Markdown small and clean.

Does it work with Nepali (Devanagari) text?

Yes. Markdown is plain UTF-8 text, so Devanagari and other Unicode characters pass through unchanged. You can convert Nepali documents and notes without any garbled characters.

Why is pasted Word content cleaner here than elsewhere?

Microsoft Word puts a lot of hidden markup (conditional comments, <style> blocks, <o:p> tags) on the clipboard. This tool strips that noise before converting, so you get readable Markdown instead of clutter.

Can it convert a PDF or a web page URL?

Not yet — those are planned. For now, open the web page, select and copy the part you want, and paste it into the Rich text tab. PDF-to-Markdown is a separate, lossier problem we may add later.