Skip to content

Text to Word

Paste text or open a .txt file and download it as a Word document, line for line; nothing is uploaded.

Processed on your device. Nothing is uploadedHow to check

Try a sample file:

Pasted text stays in this tab and is never sent anywhere.

Convert TXT to DOCX: type or paste text, or open a .txt file, and every line becomes a line in a Word document, blank lines included. Each line keeps its own direction, so Arabic reads right to left and English left to right in the same document. The document uses Calibri 11 and opens in Word, LibreOffice, Google Docs and Pages, ready to format. The text is converted in your browser and never uploaded.

Why use Text to Word

  • Private

    The .docx is built inside your browser tab, so your words are not sent to any server.

  • One line, one paragraph

    Each line of your text becomes its own Word paragraph, and a blank line becomes an empty paragraph, so the gaps you typed stay.

  • Arabic and English

    Each line is set in its own direction, so mixed Arabic and English text reads correctly.

  • Works offline

    Install it as an app or keep using this page: once the tool has been used, it works without an internet connection.

How to convert text to Word

  1. Add your text

    Write or paste in the Text box, or choose or drop a .txt file to load it there; you can still edit it before converting.

  2. Convert

    Click Convert to Word.

  3. Download

    Download the .docx file and format it in Word, LibreOffice, Google Docs or Pages.

What Text to Word handles

  • Input: a .txt file, or any text you write or paste in the box.
  • Every line as a paragraph, blank lines included; a long line wraps inside its paragraph in Word.
  • Lines whose first letter is Arabic are marked right to left in Word; the rest stay left to right.

Works best for

  • Notes and drafts
  • Emails and messages you want to keep as a document
  • Lists and logs to share or print
  • Arabic, English, or both in one file

May not keep

  • Spacing that lines up columns
  • Heading and list styles (lines stay normal paragraphs)
  • Your text editor's font
Report a file that converted badly

Text to Word: what it can't do

  • No formatting is guessed: lines that look like headings or lists stay plain lines. For headings and lists, write Markdown and use Markdown to Word.
  • Columns lined up with spaces or tabs may not line up in the document, because Calibri letters are not all the same width.
  • The document uses Calibri 11; change the font and size in Word afterwards.
  • A chosen .txt file can be up to 10 MB; a bigger one is turned away with a message.

Text to Word: questions

Is my file uploaded?
No. Your file is read and changed by your own browser, on your device, and is never sent anywhere. You can check it: open your browser's network panel while you use the tool and you will see no upload.
How do I convert a text file to Word?
Word, LibreOffice and Google Docs can each open a .txt file and save it as .docx. In OpenAnyDoc, paste the text or open the .txt file, click convert and download the .docx with every line kept and each line in its own direction; the text is converted in your browser and never uploaded.
How is each paragraph's direction chosen?
By its first letter. A paragraph that starts with an Arabic letter is marked right to left in Word, and one that starts with a Latin letter left to right, so both can sit in the same document.
Will lines that look like headings be formatted?
No. Every line stays a plain line in Calibri 11. If you want real headings, lists and tables, write the text as Markdown and use Markdown to Word.
Are blank lines kept?
Yes. Every line of your text, blank ones included, is a line in the document.
Can I make a PDF instead?
Yes. Text to PDF lays the same lines out on A4 or Letter pages with text you can search.
Is it really free?
Yes. There is no account, no watermark and no limit on how often you use it.

Why it's private: your files never leave your browser

Most online viewers upload your file to a server, so a copy of it leaves your device. OpenAnyDoc works the other way round: your browser reads the file and draws it on your screen. Nothing is uploaded, there is no account, and the file is gone from memory when you close the tab, so there is nothing for us to store, see or lose.

How we tell you about new features

Announcements are based on the release date shown to everyone, and nothing is stored on your device or sent anywhere.