Convert text to Word from a plain .txt file
Turn a text file into a Word file online. No account needed.
or drop your TXT anywhere on this page
TXT → DOCX
Why turn a text file into a Word document
To convert text to Word, select or drop your .txt file on this page, keep DOCX under Word version, press Convert to DOCX and download the document. It is one step on our server, graded Exact: every word, space and line break arrives as text you can edit, and the name stays, so notes.txt comes back as notes.docx.
A .txt file holds the words and nothing else: no fonts, no headings, no page. That suits a quick note, but not a letter, a report or a draft someone else has to review. Once the words are in Word you can add headings and bold, set up the page for printing, track changes and send a .docx to whoever asked for one. Notes typed on a phone, a log written by a program and a draft from Notepad all go through this text to Word converter the same way.
Need the opposite? Convert Word to text to strip a document back to its words. For a saved web page, convert HTML to Word instead: it keeps the headings, lists and tables that a .txt file never had. A Rich Text .rtf already has formatting of its own: convert RTF to Word to keep it.
How to convert TXT to DOCX
- 1Select or drop your text file
Nothing uploads until you press convert.
- 2Choose your options
We show the route and its fidelity grade up front.
- 3Download your Word file
Then it is deleted after 24 hours, automatically.
Just the words. No fonts, no layout, no arguments.
Modern Word. The default way the working world writes things down.
One step, one tool. Nothing is interpreted on the way.
DOCX or DOC
Both come from this page. Under Word version, DOCX (Word) is picked for you; DOC (Word 97) is the older format, and the page suggests it only for software from before 2007. Either way the conversion is one step, graded Exact, and the document inside is the same: in our test the same note came back with the same words, font and layout in both.
| DOCX | DOC | |
|---|---|---|
| Opens in | Word 2007 and later, and most other word processors | Word 97 to 2003 as well as later versions |
| Button | Convert to DOCX | Convert to DOC |
| A short note in our test | About 6 KB | About 11 KB |
Choose .docx unless something asks for .doc, such as an old copy of Word or an upload form that accepts nothing else. That is the one reason to go from TXT to DOC. And if the layout must not change at all once you send it, convert text to PDF instead.
What the Word document looks like
Nothing is rewritten or tidied. The document reads the way the text file did, which makes the result easy to predict:
- Each line of the .txt becomes its own paragraph, and a blank line stays as an empty paragraph, so your spacing survives.
- Every paragraph uses the Preformatted Text style: Liberation Mono at 10 pt, a fixed-width font, with no extra space between paragraphs. If your computer does not have Liberation Mono, Word shows a substitute.
- The page is A4 with 2 cm margins.
- A long line stays one paragraph and wraps at the edge of the page. Lines you ended with Enter in your editor stay separate, one paragraph each.
- Tabs stay as tabs, and runs of spaces stay as spaces, so columns lined up with spaces still line up.
- Markdown is not read: a # heading or a * bullet arrives as the characters you typed, and a web address in the text is plain text, not a link.
A table typed with tabs is still lines of text in Word, not a Word table. Select those lines and use Insert, Table, Convert Text to Table, with tabs as the separator, to make one. For a table stuck in a PDF, our guide on how to convert PDF to Word with tables intact explains what breaks and what to check. For a photo of a typed page rather than a text file, convert JPG to Word: the words in the photo are read as text and can be misread, so check them afterwards.
Which encodings keep their accents
Our server first looks at how your file was saved. A file that reads as UTF-8 is taken as UTF-8; any other file is read as Western ANSI (Windows-1252), the encoding older Windows editors used for English and Western European text. Here is what came through in our tests:
| Saved as | In the Word document |
|---|---|
| UTF-8, with or without a byte order mark | Accents, £ and €, Greek, Cyrillic, Hebrew, Arabic, Chinese, Japanese, Hindi and emoji, all as real text |
| Western ANSI (Windows-1252) | Accents such as é, ü and ñ, and the £ and € signs |
| ANSI for another alphabet, such as Cyrillic | Garbled: Привет turned into Ïðèâåò |
| UTF-16, listed as Unicode in older Notepad | Garbled, with stray symbols between the letters |
The letters are stored as text, not drawn, so Word shows them with the fonts on your computer. A language your computer has a font for will display; one it has no font for shows empty boxes until you add one.
Questions people ask
How do I convert TXT to DOCX?
Press Select TXT file, or drop the .txt anywhere on this page; nothing uploads until you press convert. Keep DOCX (Word) under Word version, press Convert to DOCX and download the document. The free plan converts three files a day, up to 25 MB each, one at a time, and both files are deleted from our server after 24 hours.
When do I need the older .doc format?
Only when something will not take a .docx: a copy of Word from before 2007, or a form or system that accepts .doc alone. Otherwise keep .docx, the format Word has saved in by default since Word 2007. Both are one step, graded Exact, with the same text and layout inside.
Which text encodings work?
UTF-8, with or without a byte order mark, and Western ANSI (Windows-1252), the older Windows encoding: accents such as é and ñ come through from both. A file saved as UTF-16, or as ANSI for another alphabet such as Cyrillic, comes out garbled, so save it as UTF-8 first.
What font will the Word document use?
Liberation Mono at 10 pt, a fixed-width font, in the Preformatted Text style, on A4 pages. There is no setting for it on this page, but in Word you can select all the text and pick another font, or change that one style.
What if my text is copied, not saved as a file?
This page takes .txt files only and has no box to paste into. With the text on your clipboard, the quickest route is to paste it straight into a new Word document. This page is for text already saved as a .txt file.
Is converting Text to Word free?
Yes. Up to 25 MB and three conversions a day are free, with no account. Pro and Business lift the file limit to 100 MB and remove the daily cap.
What happens to my files?
Both your Text and the Word we produce are deleted 24 hours after each conversion, automatically. Try again and Continue to another tool start a new conversion, with its own 24 hours. Nothing is used for training and no human looks at your documents.
Will the Word look exactly like the Text?
This pair grades as “Exact”. We show the exact route and that grade before you convert, so there are no surprises about what survives the trip.
Do I need to install anything?
No. Nothing to install. Pick or drop a file here, it's converted on our servers, and you download the result.
How large can my file be?
25 MB on the free plan, and 100 MB on Pro and Business.
Can I convert several files at once?
On Pro and Business, yes: add up to 100 files before converting. The free plan converts one file at a time.
Related conversions
PDF to Word
Get an editable Word document back out of a PDF, with the layout rebuilt as closely as it can be.
Text to PDF
Plain text laid out on a page and made presentable.
OpenDocument to Word
Back into the format the rest of the office expects.
DOC to DOCX
Drag a Word 97 file into this century without opening Word.
RTF to Word
The lowest common denominator, promoted to a real document.
PowerPoint to Word
Turn a deck into something that reads as a document.