Plain text

Writable

document

Plain text files (also known by the extension 'TXT') consists of human-readable characters encoded sequentially in a particular "character encoding". The plain-text description in PRONOM provides a baseline identifier for all TXT (*.txt) files that may be identified by tools such as DROID. Plain text (x-fmt/111) cannot have a file format signature associated with it where other formats with 'txt' extensions will tend to. The character encoding of plain-text files may not be known upfront and is rarely indicated inline (in the file itself), but can be identified using additional tooling such as using the '-i' encoding flag in the UNIX/Linux 'file' command. Many human readable file-formats are built using plain-text as its foundation, and source code files, such as those written in Python, C++, or Java; or data structures saved to file, such as YAML or JSON, can be opened in text editors just as easily as .txt files. The primary difference between these structured files and plain-text is the structure that is may be encoded in the file and the format as implied by the file format extension.

Identify it

Extensions.txt.text.doc.asc
MIME typestext/plain
PRONOMx-fmt/111
WikidataQ1145976Q86920

Not sure your file is this? Identify it from its first bytes, in your browser.

Open it

And 108 more in the JSON record.

Convert it

ToWithFidelityCommand and losses
Office Open XML 2007 onwardsLibreOfficePartialsoffice --headless --convert-to docx in.doc
Layout may shift; macros and some features are not kept.
OpenDocumentLibreOfficePartialsoffice --headless --convert-to odt in.doc
Layout may shift; macros and some features are not kept.
PDFLibreOfficePartialsoffice --headless --convert-to pdf in.doc
Fixed layout: the document is no longer editable.
0

Sources

From Converters (FFmpeg, ImageMagick, Pandoc, LibreOffice), WebAssembly engines (ImageMagick, FFmpeg, Pandoc, 7-Zip, GDAL, Assimp, resvg), Just Solve the File Format Problem (File Formats Wiki), PRONOM, Wikidata. Updated 2026-10-26.

Improve this record JSON