TXT to DOCX Converter
Turn plain text into a Word document, keeping your paragraphs and line breaks.
Convert your document
Converted on our serverHow it works
- Paste text or choose a filePaste up to 2 MB of text, or upload a .txt file up to 20 MB.
- Agree and convertConfirm the upload and press Convert.
- Download the DOCXOpen it in Word, Google Docs, LibreOffice or Pages.
Supported formats
Any of these can be converted into any other. Old .doc files and PDFs are not supported.
About this tool
Got notes, a transcript or an export saved as a .txt file, and need it as a Word document? Paste the text or upload the file. A blank line starts a new paragraph and single line breaks are kept inside the paragraph, so the layout matches what you see in your text editor.
Text saved in the older Windows encoding (Windows-1252) is converted too, so accented letters come out right. Symbols such as * and # stay as they are; if your text is really Markdown, use the Markdown to DOCX converter to get headings and lists. The conversion runs on our server with Pandoc after you agree to the upload, and nothing is kept afterwards.
Questions people ask
Will my line breaks stay?
Can I choose the font?
Is there a size limit?
Getting a tidy Word file from text
Separate paragraphs with a blank line
One blank line between paragraphs gives proper Word paragraphs with spacing. Lines without a blank line between them stay in the same paragraph.
Add headings in Word
Plain text has no headings, so apply Word's Heading styles afterwards to get a navigation pane and a table of contents.
Check the encoding
UTF-8 and older Windows text are read correctly. Text saved in other encodings, such as Mac Roman, can show wrong characters; save it as UTF-8 first.
TXT vs DOCX
| TXT | DOCX | |
|---|---|---|
| Full name | Plain text | Microsoft Word document (Office Open XML) |
| Formatting it keeps | None: only the words and line breaks | Everything: styles, fonts, tables, images, headers, comments and page layout |
| Best for | Notes, copying text into other apps and very old software | Documents people edit, review and send by email |
| Works with | Every device and app | Word, Google Docs, LibreOffice, Pages and most upload forms |
