To convert TXT to MD, select or drop your .txt file above, check that MD is chosen as the output, and click Convert. Files up to 200 MB are converted right in your browser, so they never leave your device.
What is a TXT file?
TXT – Plain text. TXT is plain text with no formatting, fonts or pictures. Every device opens it and it never goes out of date.
TXT Converter →What is an MD file?
MD – Markdown document. Markdown is plain text with a few marks (# for headings, ** for bold, - for lists) that tools turn into formatted pages. It is the usual format of README files, notes and documentation.
MD Converter →How to convert TXT to MD
- Click Select File, or drop your .txt files anywhere on this page. You can add several at once.
- Check that MD is chosen as the output format. On this page it is picked for you.
- Click Convert. When a file has to go to our server, the button says Upload and convert instead.
- Click Download next to each file when it's done.
TXT vs MD: how they compare
| TXT | MD | |
|---|---|---|
| Layout | Flowing text | Flowing text |
| Editable | Yes | Yes |
| Created by | Plain text has no single inventor | John Gruber and Aaron Swartz, 2004 |
| Best for | Notes, logs and anything that must open everywhere | Notes, documentation and writing for the web |
Good to know
- Headings, lists, tables, bold and italic are kept as Markdown; pictures in the document are not included.
- The text is converted as it is: a blank line starts a new paragraph, and marks like # and * are not treated as Markdown.
- A text file is already valid Markdown, so the text is not changed; only the file name is.
Frequently asked questions
Is converting TXT to MD free?
Yes. Everyone gets 25 free credits a day, with no account needed. Conversions on our server use one credit per started minute of work, so most cost a single credit. Credits reset at midnight UTC.
Are my TXT files uploaded anywhere?
Plain text, Markdown, HTML and Word files, and PDFs turned into pictures or text, are converted inside your browser and never leave your device. Other conversions, and files over 200 MB, are sent to our server over an encrypted connection and deleted 72 hours after the conversion; the server has no internet access while it works on your file. The button says "Upload and convert" whenever that happens.
How large can the TXT file be?
Files up to 200 MB are converted right in your browser. Larger files, up to 1 GB, are converted on our server.
Will the MD look the same as the TXT?
The text and structure are kept: headings, lists, tables, bold and italic. Exact page layout, fonts and spacing may differ, because MD is flowing text, not fixed pages.
Can I convert several TXT files at once?
Yes. Add as many files as you like; they are converted one after another, and each one gets its own Download button.
Convert TXT to other formats
- TXT Converter
- TXT to AZW3 Converter
- TXT to DOC Converter
- TXT to DOCX Converter
- TXT to EPUB Converter
- TXT to HTML Converter
- TXT to JPG Converter
- TXT to LRF Converter
- TXT to MOBI Converter
- TXT to ODT Converter
- TXT to OEB Converter
- TXT to PDB Converter
- TXT to PDF Converter
- TXT to PNG Converter
- TXT to RTF Converter
- TXT to TEX Converter
Convert other documents to MD
- Convert to MD
- DOCX to MD Converter
- PDF to MD Converter
- PPTX to MD Converter
- DOC to MD Converter
- PPT to MD Converter
- ODT to MD Converter
- RTF to MD Converter
- HTML to MD Converter
- WPD to MD Converter
- TEX to MD Converter
All document formats
Updated