For writers, developers and docs teams

Convert formatted text to Markdown, and Markdown to formatted text

The Markdown Converter turns formatted text from Google Docs, Word, Notion or any web page into clean GitHub-flavored Markdown, and turns Markdown into formatted text you can paste into Google Docs, Word, Gmail or a CMS. Edit either side and the other updates. Upload a .docx, .html, .md or .txt file, choose your Markdown style and download the result.

  • Free, no sign-up
  • Results in seconds
  • Input not stored
mohitgoyal.in/tools/markdown-converter

Markdown Converter

Rich text to Markdown and back, in your browser

Runs in your browser. Nothing is uploaded.

Formatted text

Paste or type rich text

Paste formatted text here

From Google Docs, Word, Notion or any web page. Or drop a .docx, .html or .md file anywhere on the tool.

Tip: Ctrl+B, I, U, K and E work on both sides.

Markdown cheat sheet24 elements · press one to insert it
Full GitHub-flavored Markdown guide (opens in a new tab)

How it works

How to use the Markdown Converter

  1. Paste, type or upload

    Paste formatted text into the left side, type or paste Markdown on the right, or drop in a .docx, .html, .md or .txt file.

  2. See both at once

    Each side updates as you edit the other. Pick the Markdown style you want: # or underlined headings, - or * bullets, ** or __ for bold.

  3. Copy or download

    Copy the Markdown, the formatted text or the HTML, or download a .md, .html or .txt file.

What you get

Inside every result

  • Clean GitHub-flavored Markdown from Google Docs, Word, Notion or a web page
  • Formatted text you can paste into Google Docs, Word, Gmail or a CMS
  • Tables, task lists, footnotes, GitHub alerts, :emoji: codes, code blocks, links and images
  • Your choice of heading, bullet, bold, italic and code fence style
  • Copy as Markdown, formatted text or HTML; download .md, .html or .txt

Who it's for

Built for

  • Writers moving drafts from Google Docs or Word to a Markdown CMS
  • Developers writing READMEs, docs and GitHub issues
  • Marketers pasting Markdown from AI chats into email or Docs
  • Teams publishing to Notion, Obsidian, Ghost, Hugo or a Next.js blog

What Markdown is

Markdown is plain text with a few symbols for formatting: # for a heading, **two stars** for bold, a dash for a list item. It reads cleanly as text and turns into HTML for the web. GitHub, Notion, Obsidian, Slack, Reddit, most static site generators and most AI chat tools use it.

This converter reads and writes GitHub-flavored Markdown (GFM), the most widely supported version. It adds tables, task lists, strikethrough, footnotes and fenced code blocks to the original syntax. It also shows GitHub's alerts ([!NOTE], [!TIP], [!IMPORTANT], [!WARNING], [!CAUTION]), :emoji: codes and heading links the way GitHub does.

Formatted text to Markdown

When you copy from Google Docs, Word or a web page, the clipboard carries HTML. The converter reads it and keeps the structure: headings, bold, italic, strikethrough, links, images, lists, quotes, code and tables. Fonts, colours and sizes are left out, because Markdown has no way to write them.

Google Docs marks bold and italic with styles instead of tags, and puts nested lists beside their parent item. Word lists arrive as paragraphs with typed bullets. The converter fixes each of these, so nested lists and bold text come through as you see them.

Markdown to formatted text

Paste or type Markdown on the right and the left side shows it formatted. Copy formatted text puts both rich text and plain text on the clipboard, so it pastes with its formatting into Google Docs, Word, Gmail, Outlook and most CMS editors, and as plain text anywhere else.

Raw HTML in your Markdown is kept when it is safe, such as <kbd> or <details>. Scripts, event handlers and javascript: links are removed before anything is shown.

Markdown cheat sheet

Headings: # Heading 1, ## Heading 2, ### Heading 3. Bold: **text** or __text__. Italic: *text* or _text_. Strikethrough: ~~text~~. Link: [text](url). Image: ![alt text](url).

Lists: start a line with -, * or + for bullets, or 1. for numbers; indent two spaces to nest. Task list: - [ ] to do, - [x] done. Quote: > text. Inline code: `code`. Code block: three backticks on the lines above and below. Table: | A | B | then | - | - | under the header. Horizontal rule: ---. Footnote: text[^1], then [^1]: the note on its own line. Alert: > [!NOTE] on the first line of a quote. Emoji: :tada:. Line break: a backslash at the end of the line.

Guides and services

Questions

Frequently asked

Is this tool free? Does it use AI?+

Yes, it is free with no sign-up and no limit. It does not use AI: the conversion follows fixed rules, so the same input always gives the same output.

Is my text or file uploaded?+

No. Everything runs in your browser, including .docx files. Nothing you paste or upload is sent to this site's server or anyone else.

Which files can I upload?+

Word documents (.docx), web pages (.html or .htm), and Markdown or plain text (.md, .markdown or .txt), up to 10 MB. Drop a file anywhere on the tool or use Upload file. Older .doc files need saving as .docx first.

How do I paste Markdown into Google Docs or Word with formatting?+

Paste the Markdown on the right, then press Copy formatted text and paste into the document. Google Docs can also read Markdown itself if you turn on Tools > Preferences > Enable Markdown, but that only works as you type.

Why did some formatting disappear?+

Markdown has no syntax for fonts, colours, text size, alignment or merged table cells, so those are dropped. Underline, superscript and subscript are kept as <ins>, <sup> and <sub>, which GitHub renders. HTML comments are hidden on the formatted side, as on GitHub, so they are lost if you edit that side.

Does it support footnotes, alerts and emoji like GitHub?+

Yes. Footnotes ([^1]), alerts (> [!NOTE], [!TIP], [!IMPORTANT], [!WARNING], [!CAUTION]), :emoji: codes, task lists, tables, collapsed <details> sections and heading anchors all work, both ways. GitHub-only features that need a repository, such as @mentions, #issue links and colour previews, stay as plain text.

Should I use ** or __ for bold, and - or * for lists?+

Both work everywhere GitHub-flavored Markdown does. ** and - are the most common, and Prettier writes them by default. Pick the style your team or linter already uses under Markdown style.

More free tools

Try another tool

All 22 tools →

Let's build

Have a site that needs to be fast, rank and convert?

Open to Work. Usually replies within a day.