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
Page description
Pages laid out exactly, ready to view and print the same everywhere.
8 formatsWord processing
Editable documents of styled text, tables and pictures.
12 formatsSpreadsheet
Workbooks of cells, formulas and charts.
8 formatsPresentation
Slide shows with layouts, media and speaker notes.
6 formatsEbook
Books packaged for reading apps, with text that reflows to fit the screen.
7 formatsText & markup
Plain text, and text with light formatting marks that stay readable as written.
23 formatsFont
Typefaces: the outlines of every character and the rules for setting them.
10 formatsAll document file formats
| Format | Name | About | Reference | Viewer | Editor | Open |
|---|---|---|---|---|---|---|
| Page description | ||||||
.DJVU | DjVu | Scanned pages split into a text mask and colour layers, each compressed its own way. | partial | Open | ||
.OXPS | OpenXPS document | The Ecma standard form of XPS, saved by Windows 8 and later. | partial | Open | ||
.PCL | Printer Command Language | HP’s printer language: escape sequences a driver sends to a laser printer. | partial | partial | Open | |
.PDF | Portable Document Format, PDF 1.0 to 1.4 | Objects at their own offsets, indexed by a plain-text xref table; RC4 encryption. | partial | partial | Open | |
.PDF | Portable Document Format, PDF 1.5 to 2.0 | Objects can be packed in object streams and indexed by xref streams; AES encryption. | partial | partial | Open | |
.PLT | HP-GL plot file | Pen plotter commands in plain text: two-letter instructions that draw lines. | partial | partial | Open | |
.PS | PostScript | Adobe’s page description language: a program that draws each page. | partial | Open | ||
.XPS | XML Paper Specification | Microsoft’s fixed pages: XML page descriptions, fonts and images in a ZIP package. | partial | Open | ||
| Word processing | ||||||
.DOC | Word for Windows 1.x and 2.0 document | Word 1.x and 2.0 documents: a plain file of single-byte text and tables. | partial | partial | Open | |
.DOC | Word 6.0 and 95 document | Word 6.0 and 95 documents: single-byte text in one compound file stream. | partial | partial | Open | |
.DOC | Word 97–2003 document | Word’s binary document from Word 97 to 2003: streams in a compound file. | partial | partial | Open | |
.DOCX | Word document | Microsoft Word’s ZIP package of XML parts, standard since Word 2007. | partial | partial | Open | |
.HWP | Hangul Word Processor document | Korea’s Hangul word processor document: compressed record streams in a compound file. | partial | Open | ||
.ODT | OpenDocument Text | The open standard word processing document: XML parts in a ZIP package. | partial | partial | Open | |
.PAGES | Apple Pages document | Apple Pages document: a ZIP package of IWA files and media. | partial | Open | ||
.RTF | Rich Text Format | Formatted text written as readable control words, read by almost every word processor. | partial | partial | Open | |
.WPD | WordPerfect for Macintosh document | Version 1.x headerless; 2.x to 3.5e with a WPC header and resource fork. | partial | Open | ||
.WPD | WordPerfect 4.2 and earlier for DOS document | A headerless stream of text and function codes (DOS, 1986 and before). | partial | Open | ||
.WPD | WordPerfect 5 document | WordPerfect 5.0 to 5.2: a WPC header, prefix packets, then text and function codes. | partial | Open | ||
.WPD | WordPerfect 6 and later document | WordPerfect 6.0 and later: a WPC header, an index of packets, then text and codes. | partial | Open | ||
| Spreadsheet | ||||||
.NUMBERS | Apple Numbers spreadsheet | Apple Numbers spreadsheet: tables and charts on a canvas, stored in IWA files. | partial | Open | ||
.ODS | OpenDocument Spreadsheet | The open standard spreadsheet: tables of cells as XML in a ZIP package. | partial | partial | Open | |
.WK1 | Lotus 1-2-3 worksheet | Lotus 1-2-3 Release 2 worksheet: a run of records, one per cell. | partial | Open | ||
.XLS | Excel 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 | |||
.XLS | Excel 5.0 and 95 workbook (BIFF5) | Excel 5.0 and 95 workbooks: BIFF records in a compound file’s Book stream. | Open | |||
.XLS | Excel 97–2003 workbook (BIFF8) | Excel 97–2003 workbooks: BIFF records and a shared string table in a compound file. | Open | |||
.XLSB | Excel binary workbook | Excel’s binary workbook since 2007: the XLSX package with binary records instead of XML. | full | full | Open | |
.XLSX | Excel workbook | Microsoft Excel’s ZIP package of sheets, shared strings and styles. | partial | partial | Open | |
| Presentation | ||||||
.KEY | Apple Keynote presentation | Apple Keynote presentation: a ZIP package of IWA files and media. | partial | Open | ||
.ODP | OpenDocument Presentation | The open standard presentation: slides as XML pages in a ZIP package. | partial | partial | Open | |
.POTX | PowerPoint template | A PowerPoint template: theme, masters and layouts in a PPTX-style package. | partial | Open | ||
.PPSX | PowerPoint show | A PPTX presentation marked to open straight into the slide show. | partial | Open | ||
.PPT | PowerPoint 97–2003 presentation | PowerPoint’s binary presentation before PPTX: nested records in a compound file. | partial | partial | Open | |
.PPTX | PowerPoint presentation | PowerPoint’s ZIP package of slides built on layouts and masters. | partial | partial | Open | |
| Ebook | ||||||
.AZW3 | Kindle Format 8 ebook | Amazon’s Kindle Format 8: HTML5 and CSS books in the MOBI record container. | partial | Open | ||
.CBR | Comic book RAR archive | A comic as a RAR archive of page images, read in file name order. | partial | partial | Open | |
.CBZ | Comic book ZIP archive | A comic as a ZIP archive of page images, read in file name order. | partial | partial | Open | |
.EPUB | EPUB ebook | The open ebook standard: XHTML chapters and a package document in a ZIP file. | partial | partial | Open | |
.FB2 | FictionBook | An ebook as one XML file: description, sections of text and Base64 images. | partial | partial | Open | |
.HLP | Windows Help file | Compiled hypertext help for Windows: compressed topics, links, keywords and pictures. | partial | partial | Open | |
.MOBI | Mobipocket ebook | Mobipocket and early Kindle ebooks: compressed text records in a Palm database. | partial | Open | ||
| Text & markup | ||||||
.ADOC | AsciiDoc | Plain text markup for technical documents and books, built by Asciidoctor. | partial | Open | ||
.CDT | Tyrian credits | The game Tyrian's end credits: 131 encrypted Pascal strings, one for each line. | full | full | Open | |
.DIZ | FILE_ID.DIZ description file | A short description inside an archive, read by bulletin board software. | partial | partial | Open | |
.HTML | HyperText Markup Language | The language of web pages: text marked up with tags that browsers display. | partial | partial | Open | |
.MD | Markdown | Readable plain text with light marks for headings, emphasis, lists and links. | full | full | Open | |
.NFO | NFO information file | Release notes and block art in text, usually in code page 437. | partial | partial | Open | |
.ORG | Org mode document | Emacs Org mode’s plain text outlines: headlines, tasks, tables and code blocks. | partial | Open | ||
.RST | reStructuredText | Readable plain text markup with directives, used by Sphinx and Python’s docs. | partial | Open | ||
.TEX | LaTeX and TeX source | Plain text with backslash commands that TeX and LaTeX typeset into pages. | partial | Open | ||
.TXT | BOCU-1 text | Unicode text as differences between code points (UTN #6); starts FB EE 28. | partial | partial | Open | |
.TXT | EBCDIC text | IBM mainframe text, not based on ASCII: a space at 40, letters at 81 and C1. | partial | partial | Open | |
.TXT | GB18030 text | China’s national encoding: one, two or four bytes a character, covering all of Unicode. | partial | partial | Open | |
.TXT | ISO-2022 and HZ text | 7-bit Japanese, Korean and Chinese text, with escape sequences that switch character sets. | partial | partial | Open | |
.TXT | Legacy code page text | A pre-Unicode code page (Windows-1252, Mac OS Roman, DOS 437, Shift_JIS …), guessed. | partial | partial | Open | |
.TXT | SCSU text | Unicode text compressed with windows and tags (UTS #6); starts 0E FE FF. | partial | partial | Open | |
.TXT | UTF-1 text | The early ISO 10646 transformation that UTF-8 replaced; starts F7 64 4C. | partial | partial | Open | |
.TXT | UTF-16BE text | Unicode in two or four bytes a character, high byte first. | full | partial | Open | |
.TXT | UTF-16LE text | Unicode in two or four bytes a character, low byte first; Windows’ “Unicode”. | full | partial | Open | |
.TXT | UTF-32BE text | Every character in four bytes, high byte first. Rare in files. | full | partial | Open | |
.TXT | UTF-32LE text | Every character in four bytes, low byte first. Rare in files. | full | partial | Open | |
.TXT | UTF-7 text | Unicode written as pure ASCII, with runs of Base64 holding UTF-16 units. | full | partial | Open | |
.TXT | UTF-8 text | Unicode in one to four bytes a character, with ASCII unchanged; the usual text today. | full | partial | Open | |
.TXT | UTF-EBCDIC text | UTF-8 for EBCDIC systems (UTR #16); starts DD 73 66 73. | partial | partial | Open | |
| Font | ||||||
.AFM | Adobe Font Metrics | Adobe’s text file of character widths, boxes, ligatures and kerning for a font. | full | full | Open | |
.BDF | Glyph Bitmap Distribution Format | A bitmap font in plain text: each glyph as rows of hexadecimal pixels. | full | full | Open | |
.FON | Windows bitmap font | Windows bitmap fonts: FNT font resources inside a 16-bit NE executable. | partial | partial | Open | |
.OTF | OpenType font | The TrueType container extended with PostScript outlines and typographic features. | partial | partial | Open | |
.PFB | PostScript Type 1 font | Adobe’s PostScript font: cubic outlines in an encrypted PostScript program. | partial | partial | Open | |
.PFM | Windows Printer Font Metrics | The Windows binary file of a font’s extents, kerning pairs and names. | partial | partial | Open | |
.TTC | TrueType collection | Several TrueType or OpenType fonts in one file, sharing tables they have in common. | full | partial | Open | |
.TTF | TrueType font | Apple’s font format of quadratic outlines and hinting, in a directory of tables. | partial | partial | Open | |
.WOFF | Web Open Font Format | A web font: TrueType or OpenType tables, each compressed with zlib. | partial | partial | Open | |
.WOFF2 | Web Open Font Format 2 | A web font: TrueType or OpenType tables compressed together with Brotli. | partial | partial | Open | |