Plain Text File

Writable

other

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
Portable Network GraphicsImageMagickLosslessconvert in.text out.png
Pixels kept; some metadata, colour profiles or layers may be dropped.
Tagged Image File FormatImageMagickLosslessconvert in.text out.tif
Pixels kept; some metadata, colour profiles or layers may be dropped.
GIF 89aImageMagickLossyconvert in.text out.gif
Reduced to 256 colours.
JPEG File Interchange Format 1.02ImageMagickLossyconvert in.text out.jpg
Lossy compression.
WebPImageMagickLossyconvert in.text out.webp
Lossy compression.
0

Sources

From Converters (FFmpeg, ImageMagick, Pandoc, LibreOffice), Just Solve the File Format Problem (File Formats Wiki), PRONOM, Wikidata. Updated 2026-10-24.

Improve this record JSON