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
- Paste your text into the box.
- Check the formatted preview.
- Copy the markdown or open it in the editor.
Common uses for plain text to Markdown
- Turn rough meeting notes, typed quickly in a notes app, into a tidy document with headings, lists and clickable links.
- Clean up an email thread or newsletter so it can be published as a blog post.
- Do a quick TXT to MD conversion of old notes before moving them into Obsidian or Logseq.
- Format a changelog or release notes written as plain text for a GitHub release.
- Fix text copied from a PDF or a terminal where every line is broken in the wrong place, and join it up again.
- Prepare structured text for an AI prompt, a knowledge base or a help centre article.
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.
Open editor