doc The .doc filename extension is a native file extension used by the closed source document processing application Microsoft Office Word. Initially developed and used by Microsoft since 1983, the filename extension .doc continues to be supported natively even in the most recent iteration of the word processing application Microsoft Office Word 2013. The more recent .docx filename extension however was introduced by Microsoft in Office Word 2007, becoming the default filename extension. Documents to be saved in the .doc format are saved as Word 97, 2003 documents.
txt From the 70's to 2007 the open source .txt filename extension format commonly referred to plain text documents encoded using the ASCII character set. To support internationalization and localization, .txt text documents are today text files encoded using the UTF-8 or UTF-16LE standard which is a superset of the ASCII character set. Text documents of type .txt typically have minimal formatting for example no support for bold or italic characters or support for bullet points etc. This allows .txt documents to use minimum storage space and be platform independent as long as the operating system supports the underlying encoding character set used to create the .txt document. On windows .txt file support has existed since 1985 when Windows 1.0 was released and since then has been mostly associated with the notepad application on Microsoft Windows.