Plain Text to Markdown
Auto structureBetaConvert plain text to Markdown with paragraphs, lists, code blocks, tables, headings and URLs detected. Paste text or open a .txt file in your browser.
Files are not uploaded · processed in your browser
Up to 1,000,000 characters
Enter content or choose a file, then click “Convert to Markdown”.
How to use
- Paste the text to convert, or open a .txt / .md file.
- Click “Convert to Markdown”.
- Check the result, then copy it or download it as a .md file.
Privacy
Files you choose and text you enter are processed in your browser. They are not uploaded to our servers and we do not store them. Some tools download the code or data they need (such as OCR language data) from this site the first time you use them.
Read the privacy policyFAQ
Is my text uploaded anywhere?
No. The conversion runs in your browser and your content never leaves your device.
How is structure detected?
Blank lines separate paragraphs and line breaks inside a paragraph are kept. Lines starting with -, *, • or ・ become bullet lists; lines starting with 1. 1) or (1) become numbered lists. A paragraph whose lines all start with 4 spaces or a tab becomes a code block, and tab-separated lines (for example copied from Excel) become a table. A short single line that does not end with punctuation is treated as a heading. URLs become links and image URLs become images.
Which encoding is used for .txt files?
The file is read as UTF-8 first. If it is not valid UTF-8, it is read as Windows-1252.
Why are there backslashes in the result?
Characters like *, _ and # have special meaning in Markdown, so they are escaped with a backslash to make them display exactly as in the original.
Are there size limits?
Up to 1,000,000 characters; files you open can be up to 8 MB.
Related tools
- Tables & code
HTML to Markdown Converter
Convert HTML code or .html files to Markdown, keeping headings, lists, links and tables.
Scripts are never run
- Headings
PDF to Markdown Converter
Turn PDF text into Markdown, detecting headings, paragraphs, lists and code blocks.
Up to 300 pages
- GFM
Markdown to HTML
Convert Markdown into a full HTML page or body HTML, with tables and task lists.
Copy or download .html
- Inline diff
Text Compare (Diff Checker)
Find added, deleted, changed and moved lines between two texts, marked inline.
Export as .diff