5 types of document files Portable document format (PDF) A PDF file is a common file type in many work environments. ... Word document (DOC and DOCX) ... Hypertext markup language (HTML and HTM) ... Microsoft excel spreadsheet file (XLS and XLSX) ... Text file (TXT) Jun 24, 2022