Document file formats

Files made to be read: fixed pages ready to print, word processing documents, spreadsheets, presentations, ebooks, plain and marked-up text, and the fonts that display them.

Subcategories

All document file formats

FormatNameAboutReferenceViewerEditorOpen
Page description
.DJVUDjVuScanned pages split into a text mask and colour layers, each compressed its own way.partialOpen
.OXPSOpenXPS documentThe Ecma standard form of XPS, saved by Windows 8 and later.partialOpen
.PCLPrinter Command LanguageHP’s printer language: escape sequences a driver sends to a laser printer.partialpartialOpen
.PDFPortable Document Format, PDF 1.0 to 1.4Objects at their own offsets, indexed by a plain-text xref table; RC4 encryption.partialpartialOpen
.PDFPortable Document Format, PDF 1.5 to 2.0Objects can be packed in object streams and indexed by xref streams; AES encryption.partialpartialOpen
.PLTHP-GL plot filePen plotter commands in plain text: two-letter instructions that draw lines.partialpartialOpen
.PSPostScriptAdobe’s page description language: a program that draws each page.partialOpen
.XPSXML Paper SpecificationMicrosoft’s fixed pages: XML page descriptions, fonts and images in a ZIP package.partialOpen
Word processing
.DOCWord for Windows 1.x and 2.0 documentWord 1.x and 2.0 documents: a plain file of single-byte text and tables.partialpartialOpen
.DOCWord 6.0 and 95 documentWord 6.0 and 95 documents: single-byte text in one compound file stream.partialpartialOpen
.DOCWord 97–2003 documentWord’s binary document from Word 97 to 2003: streams in a compound file.partialpartialOpen
.DOCXWord documentMicrosoft Word’s ZIP package of XML parts, standard since Word 2007.partialpartialOpen
.HWPHangul Word Processor documentKorea’s Hangul word processor document: compressed record streams in a compound file.partialOpen
.ODTOpenDocument TextThe open standard word processing document: XML parts in a ZIP package.partialpartialOpen
.PAGESApple Pages documentApple Pages document: a ZIP package of IWA files and media.partialOpen
.RTFRich Text FormatFormatted text written as readable control words, read by almost every word processor.partialpartialOpen
.WPDWordPerfect for Macintosh documentVersion 1.x headerless; 2.x to 3.5e with a WPC header and resource fork.partialOpen
.WPDWordPerfect 4.2 and earlier for DOS documentA headerless stream of text and function codes (DOS, 1986 and before).partialOpen
.WPDWordPerfect 5 documentWordPerfect 5.0 to 5.2: a WPC header, prefix packets, then text and function codes.partialOpen
.WPDWordPerfect 6 and later documentWordPerfect 6.0 and later: a WPC header, an index of packets, then text and codes.partialOpen
Spreadsheet
.NUMBERSApple Numbers spreadsheetApple Numbers spreadsheet: tables and charts on a canvas, stored in IWA files.partialOpen
.ODSOpenDocument SpreadsheetThe open standard spreadsheet: tables of cells as XML in a ZIP package.partialpartialOpen
.WK1Lotus 1-2-3 worksheetLotus 1-2-3 Release 2 worksheet: a run of records, one per cell.partialOpen
.XLSExcel 2.x, 3.0 and 4.0 worksheet (BIFF2 to BIFF4)Excel 2.x, 3.0 and 4.0 worksheets: one sheet as a plain stream of BIFF records.Open
.XLSExcel 5.0 and 95 workbook (BIFF5)Excel 5.0 and 95 workbooks: BIFF records in a compound file’s Book stream.Open
.XLSExcel 97–2003 workbook (BIFF8)Excel 97–2003 workbooks: BIFF records and a shared string table in a compound file.Open
.XLSBExcel binary workbookExcel’s binary workbook since 2007: the XLSX package with binary records instead of XML.fullfullOpen
.XLSXExcel workbookMicrosoft Excel’s ZIP package of sheets, shared strings and styles.partialpartialOpen
Presentation
.KEYApple Keynote presentationApple Keynote presentation: a ZIP package of IWA files and media.partialOpen
.ODPOpenDocument PresentationThe open standard presentation: slides as XML pages in a ZIP package.partialpartialOpen
.POTXPowerPoint templateA PowerPoint template: theme, masters and layouts in a PPTX-style package.partialOpen
.PPSXPowerPoint showA PPTX presentation marked to open straight into the slide show.partialOpen
.PPTPowerPoint 97–2003 presentationPowerPoint’s binary presentation before PPTX: nested records in a compound file.partialpartialOpen
.PPTXPowerPoint presentationPowerPoint’s ZIP package of slides built on layouts and masters.partialpartialOpen
Ebook
.AZW3Kindle Format 8 ebookAmazon’s Kindle Format 8: HTML5 and CSS books in the MOBI record container.partialOpen
.CBRComic book RAR archiveA comic as a RAR archive of page images, read in file name order.partialpartialOpen
.CBZComic book ZIP archiveA comic as a ZIP archive of page images, read in file name order.partialpartialOpen
.EPUBEPUB ebookThe open ebook standard: XHTML chapters and a package document in a ZIP file.partialpartialOpen
.FB2FictionBookAn ebook as one XML file: description, sections of text and Base64 images.partialpartialOpen
.HLPWindows Help fileCompiled hypertext help for Windows: compressed topics, links, keywords and pictures.partialpartialOpen
.MOBIMobipocket ebookMobipocket and early Kindle ebooks: compressed text records in a Palm database.partialOpen
Text & markup
.ADOCAsciiDocPlain text markup for technical documents and books, built by Asciidoctor.partialOpen
.CDTTyrian creditsThe game Tyrian's end credits: 131 encrypted Pascal strings, one for each line.fullfullOpen
.DIZFILE_ID.DIZ description fileA short description inside an archive, read by bulletin board software.partialpartialOpen
.HTMLHyperText Markup LanguageThe language of web pages: text marked up with tags that browsers display.partialpartialOpen
.MDMarkdownReadable plain text with light marks for headings, emphasis, lists and links.fullfullOpen
.NFONFO information fileRelease notes and block art in text, usually in code page 437.partialpartialOpen
.ORGOrg mode documentEmacs Org mode’s plain text outlines: headlines, tasks, tables and code blocks.partialOpen
.RSTreStructuredTextReadable plain text markup with directives, used by Sphinx and Python’s docs.partialOpen
.TEXLaTeX and TeX sourcePlain text with backslash commands that TeX and LaTeX typeset into pages.partialOpen
.TXTBOCU-1 textUnicode text as differences between code points (UTN #6); starts FB EE 28.partialpartialOpen
.TXTEBCDIC textIBM mainframe text, not based on ASCII: a space at 40, letters at 81 and C1.partialpartialOpen
.TXTGB18030 textChina’s national encoding: one, two or four bytes a character, covering all of Unicode.partialpartialOpen
.TXTISO-2022 and HZ text7-bit Japanese, Korean and Chinese text, with escape sequences that switch character sets.partialpartialOpen
.TXTLegacy code page textA pre-Unicode code page (Windows-1252, Mac OS Roman, DOS 437, Shift_JIS …), guessed.partialpartialOpen
.TXTSCSU textUnicode text compressed with windows and tags (UTS #6); starts 0E FE FF.partialpartialOpen
.TXTUTF-1 textThe early ISO 10646 transformation that UTF-8 replaced; starts F7 64 4C.partialpartialOpen
.TXTUTF-16BE textUnicode in two or four bytes a character, high byte first.fullpartialOpen
.TXTUTF-16LE textUnicode in two or four bytes a character, low byte first; Windows’ “Unicode”.fullpartialOpen
.TXTUTF-32BE textEvery character in four bytes, high byte first. Rare in files.fullpartialOpen
.TXTUTF-32LE textEvery character in four bytes, low byte first. Rare in files.fullpartialOpen
.TXTUTF-7 textUnicode written as pure ASCII, with runs of Base64 holding UTF-16 units.fullpartialOpen
.TXTUTF-8 textUnicode in one to four bytes a character, with ASCII unchanged; the usual text today.fullpartialOpen
.TXTUTF-EBCDIC textUTF-8 for EBCDIC systems (UTR #16); starts DD 73 66 73.partialpartialOpen
Font
.AFMAdobe Font MetricsAdobe’s text file of character widths, boxes, ligatures and kerning for a font.fullfullOpen
.BDFGlyph Bitmap Distribution FormatA bitmap font in plain text: each glyph as rows of hexadecimal pixels.fullfullOpen
.FONWindows bitmap fontWindows bitmap fonts: FNT font resources inside a 16-bit NE executable.partialpartialOpen
.OTFOpenType fontThe TrueType container extended with PostScript outlines and typographic features.partialpartialOpen
.PFBPostScript Type 1 fontAdobe’s PostScript font: cubic outlines in an encrypted PostScript program.partialpartialOpen
.PFMWindows Printer Font MetricsThe Windows binary file of a font’s extents, kerning pairs and names.partialpartialOpen
.TTCTrueType collectionSeveral TrueType or OpenType fonts in one file, sharing tables they have in common.fullpartialOpen
.TTFTrueType fontApple’s font format of quadratic outlines and hinting, in a directory of tables.partialpartialOpen
.WOFFWeb Open Font FormatA web font: TrueType or OpenType tables, each compressed with zlib.partialpartialOpen
.WOFF2Web Open Font Format 2A web font: TrueType or OpenType tables compressed together with Brotli.partialpartialOpen