Text file refers to a type of container, while plain text refers to a kind of content. Such files can be viewed and edited on text terminals or in simple text editors.īinary DOC files often contain more text formatting information (as well as scripts and undo information) than some other document file formats like Rich Text Format and HyperText Markup Language but are usually less widely compatible. The name text file refers to a file format that allows only plain text content with very little formatting (e.g., no bold or italic types). Microsoft Word 2007 and later, the binary file format was replaced as the default format by the Office Open XML format, though Microsoft Word can still produce DOC files. DOC is a filename extension for word processing documents, most commonly in the proprietary Microsoft Word Binary File Format.