File format · .txt
Just the words.
Import .txt files and their paragraphs and line breaks come across as they were. Download any document as plain text that reads well on its own: headings set apart, list markers, checkboxes, tables as tab-separated columns and footnotes listed at the end.
Plain text opens on every computer, in every editor, forever. It's what you paste into a form, a terminal or an email, and what you keep when you only care about the words.
Bring it in
Import plain text files
From your library
Choose Import a file, or drag files onto your documents. Each file becomes a new document, named after the file.Into an open document
In a document, File › Import file… adds the file at your cursor, or replaces what's there.Add the formatting
Turn lines into headings, lists or tables in Docs, then share it to write together.
What comes across
- Paragraphs, split at blank lines
- Line breaks within a paragraph
- Indentation and runs of spaces
Good to know
- Files up to 20 MB, ending .txt or .text.
- Plain text has no formatting to bring in, so every paragraph starts as normal text.
Take it out
Download as plain text
Choose File › Download › Plain text
The .txt file is written on your computer from the document.Paste it anywhere
Open it in any editor, or paste it where formatting isn't welcome.
What the file keeps
- Headings, set apart from the text
- List markers and task checkboxes ([ ] and [x])
- Tables as tab-separated columns
- Footnotes, numbered and listed at the end
- Dates and smart chips as their text
Good to know
- Pictures become a short [Image] note with their caption or description.
- Suggestions still pending are written in as if accepted, and comments are left out.
Converted on your computer
Questions
Questions about plain text files
Will my tables survive as plain text?
Yes, as tab-separated columns, one row per line. Paste them into a spreadsheet and they fall into cells.
What happens to footnotes?
They're numbered in the text and listed at the end of the file, so nothing is lost.
Which text encoding does the download use?
UTF-8, so accents, other alphabets and symbols come through intact.
Write it together. Keep it yours.
Documents are end-to-end encrypted, so only you and the people you invite can read them.