Open editor
Text to Markdown

Text to Markdown formatter

Paste notes, an email or any plain writing into this text to Markdown formatter, and get headings, lists, links and paragraphs worked out for you.

What does a text to Markdown converter do?

Plain text has structure that a person can see but software cannot: a title in capitals, a line ending in a colon, a list of lines starting with dashes. A text to Markdown converter reads those clues and adds the markdown marks, so the same words render as a proper document with real headings and lists.

Here, a short line on its own that is in capitals, ends with a colon or reads like a title becomes a heading, and a title in capitals is changed to title case. A heading at the very top becomes the main # title, and later ones become ## sections. Lines starting with •, -, *, numbers or letters become bulleted or numbered lists, with indented lines nested. Web and email addresses become links. Lines that were hard-wrapped, as in many emails and old text files, are joined back into paragraphs.

Your words are never changed: only formatting is added. If you paste from Word, Google Docs or a web page and want the existing bold, italic and links kept, use Paste to Markdown instead, because plain text to Markdown conversion only sees the characters. When you are done, copy the result, download it, or open it in the markdown editor to keep writing. Everything happens in your browser.

Why use this Text to Markdown tool

Headings detected

Short title lines, lines in capitals and lines ending in a colon become headings.

Lists detected

Lines starting with •, -, *, numbers or letters become markdown lists.

Links made clickable

Web addresses and email addresses become links.

Paragraphs tidied

Hard-wrapped lines are joined back into paragraphs.

How to convert text to Markdown

  1. Paste your text into the box.
  2. Check the formatted preview.
  3. Copy the markdown or open it in the editor.

Common uses for plain text to Markdown

Frequently asked questions

Will it change my words?

No. Only formatting is added; the text itself is left as it is.

Can I convert formatted text from a web page or Word?

For that, use Paste to Markdown, which keeps the original formatting.

Can I go back to plain text?

Yes, with Markdown to Text.

How do I convert text to Markdown?

Paste the text into the left box or open a .txt file. The markdown appears on the right as you type. Switch between Preview and Markdown to check it, then copy it or download it. If a line becomes a heading when it should not, end it with a full stop and it stays part of the text.

Can I convert a .txt file to .md?

Yes. Press Open file or drag the .txt file onto the box, then press Download .md. The TXT to MD conversion happens in your browser, so nothing is uploaded and the file name is kept. Files saved by Notepad, TextEdit and other plain text editors all work.

Is it free, and does it work on mobile?

Yes to both. There is no sign-up or limit, and the page works in any modern mobile browser. Paste from your notes app and copy the markdown back.

Related markdown tools

See all 41 free markdown tools →