Text to Markdown Converter
This text to Markdown converter turns plain text into clean Markdown. Paste notes, an email or text from a PDF and it finds the structure: a title and headings, bulleted and numbered lists, checklists, tables copied from a spreadsheet and indented code, and joins lines that were broken in the middle of a sentence.
- Finds headings and lists
- Stays on your device
How to convert text to Markdown
Paste, check, copy.
-
Paste your text
Paste it into the box, or open a .txt file. Text from an email, a PDF, a chat or a notes app all works.
-
Check the options
Headings finds title lines; turn it off if your text has none. Line breaks joins lines into paragraphs, or keeps every line as it is, as poems and addresses need.
-
Copy or download
Click Copy Markdown, or Download .md to save a file. Preview shows how the Markdown will look.
This email becomes 3 headings (the title, Agenda and What to bring), a numbered list of 4, a bulleted list of 3 and a 3-column table. The 3 wrapped lines at the top are joined into one paragraph, and the web address is left as it is, so Markdown apps make it a link.
What the converter finds in plain text
Typed structure, read the way a person would read it.
| In your text | In Markdown |
|---|---|
| A short first line on its own, like Team offsite plan | # Team offsite plan, the title. |
| A short line above a list or paragraph, like Agenda: | ## Agenda. The colon is dropped. |
A line underlined with === or --- | A heading. |
| Lines starting with •, ●, ▪, -, *, – or ➤ | - item. Deeper indents become nested lists. |
| 1., 2), (3), a. or iv. | 1. item, renumbered from 1. Letters and Roman numerals count only when two or more lines use them. |
| [ ], [x], ☐ or ☑ | - [ ] and - [x] checklist items. |
| Rows with tabs between the values | A Markdown table, with number columns aligned right. |
| Lines indented 4 spaces or a tab | A code block. |
| Lines starting with > | A quote. |
| A word split with a hyphen at the end of a line | Put back together, as in para- + graph → paragraph. |
*, _, # and other symbols in sentences | Escaped with \, so they stay as typed instead of turning into formatting. |
Text from a PDF or an email
Text copied from a PDF or a plain-text email often has a line break at the end of every line, where the original was wrapped. Markdown treats a single line break as a space, so the converter joins those lines into paragraphs, and a blank line still starts a new paragraph.
Choose Keep every line for text where the breaks matter, like an address, a poem or song lyrics you wrote: each line ends with two spaces, Markdown’s hard line break.
For a PDF file rather than copied text, the PDF to Markdown converter reads the fonts and positions too, so it can tell headings, bold text and tables apart.
Text to Markdown Converter FAQ
How do I convert plain text to Markdown?
Paste the text into the box. The converter adds Markdown for the headings, lists and tables it finds, and you copy the result or download a .md file.
How does it know what a heading is?
A heading is a short line on its own, with no full stop at the end, written in title case, in capitals, or ending with a colon. The first such line becomes the title.
Why are some characters given a backslash?
Markdown reads symbols like * and _ as formatting. A backslash in front keeps them as the characters you typed.
Can I keep my line breaks?
Yes. Choose Keep every line under Line breaks, and each line ends with a Markdown line break instead of being joined to the next.
Does it work with text copied from Word or a web page?
Pasting into this box keeps only the text. To keep bold, links and real lists, use the Rich Text to Markdown converter, which reads the formatting.
Is my text uploaded?
No. The conversion runs in your browser, on this page, so nothing you paste is sent to a server or saved. Closing the page clears it.
More markdown converters tools
- Convert Rich Text to Markdown Converter Paste formatted text from Word, email or the web and get Markdown. Open tool
- Convert PDF to Markdown Converter Convert a PDF to Markdown with headings, lists and tables found from its layout. Open tool
- Convert HTML to Markdown Converter Turn HTML code or copied web pages into clean Markdown. Open tool
- Clean Remove Markdown Strip Markdown symbols and keep clean, readable plain text. Open tool