Document File Extensions: PDF, DOCX, XLSX, EPUB and More

Document formats cover everything from fixed-layout PDFs to editable Word, Excel and PowerPoint files, plain text, e-books and project files. Knowing the extension tells you which app opens a file and whether it can be edited.

  • .pdf (Portable Document Format): Invoices, receipts, bank statements and contracts
  • .docx, .docm, .dotx (Microsoft Word Open XML Document): Letters, reports, essays and theses
  • .doc, .dot (Microsoft Word 97-2003 Document): Documents created in Office 97 to 2003 and older archives
  • .xlsx, .xlsm, .xlsb, .xltx (Microsoft Excel Open XML Spreadsheet): Budgets, financial models and accounting exports
  • .xls, .xlt (Microsoft Excel 97-2003 Workbook): Spreadsheets created in Office 97 to 2003
  • .csv (Comma-Separated Values): Exporting bank transactions, orders and analytics data
  • .pptx, .ppt, .ppsx, .potx, .pptm (Microsoft PowerPoint Open XML Presentation): Business, sales and conference presentations
  • .txt (Plain Text File): Quick notes, lists and drafts
  • .rtf (Rich Text Format): Exchanging formatted text between different word processors
  • .odt, .ods, .odp (OpenDocument Text): Documents made in LibreOffice or OpenOffice
  • .md, .markdown (Markdown Document): README.md files in code repositories
  • .epub (Electronic Publication): E-books from Kobo, Apple Books, Google Play Books and libraries
  • .azw3, .azw, .kfx (Amazon Kindle Format 8 (KF8) E-book): Sideloading DRM-free e-books onto a Kindle over USB
  • .mobi, .prc (Mobipocket E-book): Older Kindle e-books and personal documents
  • .mht, .mhtml (MIME HTML Web Archive): Saving a complete web page as one file for offline reading
  • .vsdx, .vsd, .vsdm, .vssx, .vstx (Microsoft Visio Drawing): Flowcharts and business process diagrams
  • .mpp, .mpt (Microsoft Project File): Construction, engineering and IT project schedules
  • .pages (Apple Pages Document): Letters, reports and school assignments written on a Mac or iPad
  • .numbers (Apple Numbers Spreadsheet): Household budgets, lists and trackers made on a Mac or iPhone
  • .key (Apple Keynote Presentation): Presentations made on a Mac or iPad
  • .cbr (Comic Book RAR Archive): Reading digital comics, manga and graphic novels
  • .cbz, .cb7 (Comic Book ZIP Archive): Reading digital comics and manga on tablets and computers
  • .ods, .fods (OpenDocument Spreadsheet): Spreadsheets made in LibreOffice Calc
  • .odp, .fodp (OpenDocument Presentation): Presentations made in LibreOffice Impress
  • .xps, .oxps (XML Paper Specification): Documents accidentally printed with Microsoft XPS Document Writer
.pdfPortable Document Format

A .pdf file is a Portable Document Format document: a fixed-layout file that looks the same on every device, with its text, fonts, images and page geometry packed inside. It is the standard format for sharing finished documents such as invoices, contracts, forms, manuals and scanned paperwork that should not reflow.

.docx, .docm, .dotxMicrosoft Word Open XML Document

A .docx file is a Microsoft Word document saved in the Office Open XML format used by Word 2007 and later. It stores text, formatting, images, tables, comments and tracked changes in a compressed ZIP package, and it is the default format for editable documents in Word, Google Docs exports and most office suites.

.doc, .dotMicrosoft Word 97-2003 Document

A .doc file is a word-processing document in Microsoft Word's legacy binary format, used as the default by Word 97 through Word 2003. It holds text, formatting, images and tables in a single proprietary binary file, and is still found in older archives, government forms and email attachments.

.xlsx, .xlsm, .xlsb, .xltxMicrosoft Excel Open XML Spreadsheet

A .xlsx file is a Microsoft Excel workbook, the default Excel file extension since Excel 2007. It stores one or more worksheets of cells, formulas, charts, formatting and pivot tables in a compressed Office Open XML package. Related Excel extensions are .xlsm (macros), .xlsb (binary) and the older .xls.

.xls, .xltMicrosoft Excel 97-2003 Workbook

A .xls file is a spreadsheet in Microsoft Excel's legacy binary format, the default for Excel 97 through Excel 2003. It stores worksheets, formulas, charts and formatting, but each sheet is limited to 65,536 rows and 256 columns. Many older systems and bank exports still produce .xls files today.

.csvComma-Separated Values

A .csv file is a plain-text table where each line is a row and commas separate the columns. It has no formatting, formulas or multiple sheets, which makes it the universal format for moving data between spreadsheets, databases, banking portals, CRMs and code. Any text editor or spreadsheet app can open it.

.pptx, .ppt, .ppsx, .potx, .pptmMicrosoft PowerPoint Open XML Presentation

A .pptx file is a Microsoft PowerPoint presentation, the default PowerPoint file extension since Office 2007. It stores slides, layouts, text, images, charts, animations, embedded audio and video, and speaker notes in a compressed Office Open XML package. Older PowerPoint files use .ppt; slide shows use .ppsx.

.txtPlain Text File

A .txt file is a plain text file: just characters, with no fonts, bold, images or layout. It is the simplest and most portable document format, readable by every operating system and text editor, and used for notes, logs, README files, configuration and data that needs to stay readable for decades.

.rtfRich Text Format

A .rtf file is a Rich Text Format document: text with basic formatting such as fonts, sizes, bold, italics, colours, tables and images, written as readable control codes inside a plain-text file. Created by Microsoft in 1987, it remains a lowest-common-denominator format that almost every word processor can open.

.odt, .ods, .odpOpenDocument Text

A .odt file is an OpenDocument Text document, the native word-processing format of LibreOffice Writer and Apache OpenOffice. It is an open, ISO-standardized format that stores text, formatting, images and tables in a ZIP package of XML files, and is often required by governments and organizations that prefer open standards.

.md, .markdownMarkdown Document

A .md file is a Markdown document: plain text with lightweight formatting marks such as # for headings, **bold**, - for bullet lists and [text](url) for links. It reads naturally as text and converts cleanly to HTML, which is why Markdown is the standard file extension for README files, documentation and notes apps.

.epubElectronic Publication

A .epub file is an e-book in the open EPUB standard, the most widely used e-book format outside Amazon. It packages HTML pages, CSS styles, images and metadata into a ZIP file so the text reflows to fit any screen size. Apple Books, Google Play Books, Kobo and Calibre all read EPUB files.

.azw3, .azw, .kfxAmazon Kindle Format 8 (KF8) E-book

A .azw3 file is an Amazon Kindle e-book in Kindle Format 8 (KF8). It is the main Kindle file extension for books you load onto a Kindle yourself, supporting reflowable text, embedded fonts and richer layout than the old MOBI format. Kindle Store purchases may also appear as .azw or .kfx files.

.mobi, .prcMobipocket E-book

A .mobi file is an e-book in the Mobipocket format, which Amazon used as the basis for early Kindle books. It holds reflowable text, simple formatting and images. Kindles still open MOBI files copied over USB, but Amazon has replaced it with AZW3, KFX and EPUB support for new books and Send to Kindle.

.mht, .mhtmlMIME HTML Web Archive

A .mht or .mhtml file is a single-file web page archive. It bundles a page's HTML together with its images, stylesheets and other resources into one MIME-encoded file, so the page can be opened offline exactly as it was saved. Chrome and Edge open MHT files, and Word can open them too.

.vsdx, .vsd, .vsdm, .vssx, .vstxMicrosoft Visio Drawing

A .vsdx file is a Microsoft Visio drawing, the default Visio file extension since Visio 2013. It stores diagrams such as flowcharts, network maps, floor plans and org charts as pages of connected shapes, in a compressed Office Open XML package. Older Visio files use .vsd; stencils use .vssx and templates .vstx.

.mpp, .mptMicrosoft Project File

A .mpp file is a Microsoft Project file: a project plan containing tasks, durations, dependencies, milestones, resources, costs and baselines, usually viewed as a Gantt chart. It is a proprietary binary format created by Microsoft Project desktop, and opening it without Project requires a third-party viewer or a free tool such as ProjectLibre.

.pagesApple Pages Document

A .pages file is a document created with Apple Pages, the free word processor for Mac, iPhone and iPad. It stores text, layout, images and tables in Apple's own format. Windows has no Pages app, but you can open and convert Pages files for free in a browser at iCloud.com.

.numbersApple Numbers Spreadsheet

A .numbers file is a spreadsheet created with Apple Numbers, the free spreadsheet app for Mac, iPhone and iPad. It can hold several sheets, each with multiple free-floating tables, charts and formulas. Excel cannot open it, but Numbers exports to Excel and CSV, and iCloud.com opens Numbers files on Windows.

.keyApple Keynote Presentation

A .key file is usually a presentation created with Apple Keynote, the free slideshow app for Mac, iPhone and iPad. It stores slides, animations, transitions and embedded media. PowerPoint cannot open it directly, but Keynote exports to PowerPoint and PDF, and iCloud.com opens Keynote files on Windows.

.cbrComic Book RAR Archive

A .cbr file is a digital comic book: a RAR archive full of page images (usually JPG or PNG) named in reading order. Comic reader apps open it and show the pages one by one. CBR is the RAR-based sibling of CBZ, and Calibre and most comic readers support both.

.cbz, .cb7Comic Book ZIP Archive

A .cbz file is a digital comic book stored as a ZIP archive of page images, numbered in reading order. Comic readers display the images as pages. CBZ is the most widely supported comic archive format, read by Calibre, comic apps, e-reader software and library servers like Komga and Kavita.

.ods, .fodsOpenDocument Spreadsheet

A .ods file is a spreadsheet in the OpenDocument Spreadsheet format, the native format of LibreOffice Calc. It is an open international standard (ISO/IEC 26300) that stores sheets, formulas, charts and formatting. Microsoft Excel and Google Sheets can open and save ODS files, so you rarely need special software.

.odp, .fodpOpenDocument Presentation

A .odp file is a slideshow in the OpenDocument Presentation format, the native format of LibreOffice Impress. It is part of the open OpenDocument standard (ISO/IEC 26300) and stores slides, layouts, images, animations and speaker notes. PowerPoint and Google Slides can also open ODP files.

.xps, .oxpsXML Paper Specification

A .xps file is a fixed-layout document in Microsoft's XML Paper Specification, a PDF-like format that preserves exact page appearance. Most XPS files are created by accident with the Microsoft XPS Document Writer printer. Windows 11 opens them with the optional XPS Viewer, which you add in Settings.

See all file extensions, or rename many files at once with the free online bulk renamer.