Skip to content

Text to Word

Turn plain text or Markdown into a formatted .docx; a CSV or TSV becomes a Word table.

Updated

Add your files

TXT, MD, CSV, TSV

How to turn text into a Word document

  1. 1

    Add .txt, .md, .csv or .tsv files, one or many. Each becomes its own .docx.

  2. 2

    For text and Markdown, keep Interpret Markdown on to turn #, lists, **bold** and the rest into Word formatting, or switch it off to get plain paragraphs. Type a Document title to put a title line at the top.

  3. 3

    Press Create Word from text and download the files, written in your browser.

  • Use Text to PDF when the result is meant to be read rather than edited: the same text becomes a PDF there.
  • Use Word to text when you have the .docx and want its text, HTML or Markdown back out.

Plain text, Markdown or a table

A .txt or .md file is read as Markdown while Interpret Markdown is on, whatever its extension: a line starting with # becomes a heading, lines starting with - or 1. become a list, and a blank line starts a new paragraph. With the switch off, each chunk between blank lines becomes one paragraph. In both modes a single line break inside a paragraph becomes a space, so put a blank line between lines that must stay apart. A .csv or .tsv file always becomes a table, and the Markdown switch is hidden while only such files are in the tray.

The file you get

The .docx is written from scratch in your browser. Links become clickable hyperlinks when their address starts with http or https; any other address leaves underlined text. Bold, italic and inline code keep their look, a code block is set in Consolas on a shaded background with one paragraph per line, and a rule becomes a paragraph with a bottom border. A numbered list counts from 1 whatever numbers the text used. Nothing is fetched: a picture named by its address is not downloaded, so the document holds no pictures.

Questions about Text to Word

Which Markdown is understood?

Headings # to ####, bullets with -, * or +, numbered items with 1. or 1), **bold**, *italic*, `code`, links as [text](https://...), fenced code blocks, --- for a rule, and pipe tables with a separator row to mark the header. Nesting, images and HTML tags are not read: an indented item becomes an ordinary item, and an image reference or a tag comes out as text.

What does a CSV become?

One table whose first row is the header, shaded and bold, with every other row as it is. The delimiter is detected from the first line among comma, semicolon, tab and pipe, and quoted fields holding commas or line breaks are read correctly. Every cell is text. A table of more than 60,000 cells is refused, with the suggestion to keep the data as a spreadsheet with CSV to Excel.

What does the page look like?

A4, with margins of three quarters of an inch on every side, body text of 11 points and headings of 20, 15.5, 13 and 11.5 points. The Document title, when given, is set in the Title style above everything else. No page numbers are added; your word processor can add them afterwards.

Advertisement