Document File Extensions List

Grab a clean, copy-ready list of common document file extensions paired with their full format names. Perfect for dropdowns, documentation, and developer references.

Document file extensions(20 extensions)

Ordered alphabetically by extension; includes widely used office, plain-text, and open-standard document formats — excludes image, audio, video, and archive formats.

How to use this list

Copy document extensions in seconds

Takes ~5 seconds
  1. 1
    Choose a format

    Pick text, JSON, or HTML depending on your project needs.

  2. 2
    Copy or download

    Hit the copy button or download the file for offline use.

  3. 3
    Paste into your workflow

    Use the data in a form, validator, documentation page, or seed file.

Need bare extensions for a file-type validator? Select JSON to get a clean array of extension strings.

Who should use this list?

  • Developers building file upload validators or MIME-type checks
  • Technical writers documenting supported file formats
  • Product managers populating dropdowns for file-type filters

Examples

Text output with extension and format name.

Input
".pdf - Portable Document Format"
Output
.pdf - Portable Document Format

JSON output of bare extensions for code use.

Input
".pdf"
Output
[".csv", ".doc", ".docx", ".epub", ".md", ...]

HTML output for a dropdown menu.

Input
".pdf - Portable Document Format"
Output
<option value=".pdf">.pdf - Portable Document Format</option>

A clean list of common document file extensions

Use this list when you need a reliable, copy-ready reference of document file extensions paired with their full format names.

Looking for a dependable document file extensions list for a file upload validator, a documentation page, or a UI dropdown? This page covers the most widely used document formats — from .pdf and .docx to .odt, .csv, .rtf, and .epub — each paired with its full format name so the data is human-readable and machine-usable at the same time. The text view gives you labeled entries you can paste into spreadsheets or internal wikis. The JSON output emits bare extension strings like ".pdf" and ".xlsx" that drop straight into validation arrays, allowlists, or configuration files. The HTML format generates ready-to-paste <option> tags for select menus in file-type filters. Because every item includes the leading dot, the extensions are immediately usable in code without any extra transformation. The list covers Microsoft Office formats (legacy and modern), OpenDocument formats, plain-text variants, and common publishing formats, making it a practical starting point for any project that needs to handle or describe document files. Alphabetical ordering keeps it easy to scan and audit. Pair it with a MIME type list when you need both the extension and the content-type header for server-side handling.

Copy-ready formats

Switch between text, JSON, and HTML output with one click.

  • Plain text list
  • JSON array of extensions
  • HTML <option> tags
Clear labeling

Each entry pairs the bare extension with its full format name for fast scanning.

  • Extension + format name
  • Leading dot included
  • Alphabetical ordering
Developer friendly

JSON output emits bare extensions perfect for validation logic, parsers, and file-type checks.

  • Bare extension as value
  • No formatting noise
  • Clipboard ready

Document extension list best practices

Keep extension references consistent and well-scoped across your project.

  • Always include the leading dot when using extensions in code to avoid partial-match bugs.
  • Pair extensions with MIME types when handling file uploads server-side.
  • Document which legacy formats (e.g. .doc, .xls) your application accepts versus modern equivalents.

Frequently asked questions

Does this list include the leading dot in each extension?>
Yes. Every extension in this list includes the leading dot (e.g. ".pdf", ".docx") so values are copy-paste ready for use in code, allowlists, and configuration files.
Why does the JSON format only show the extension and not the format name?>
The JSON output is optimized for developer use, so it emits only the bare extension string (e.g. ".pdf") — the value most useful in validation logic, parsers, and file-type checks.
Are image, audio, or archive formats included in this list?>
No. This list covers document formats only — text, spreadsheet, presentation, and publishing files. Image, audio, video, and archive extensions are out of scope.

Related Developer lists

Application MIME Types List | Copy-Ready Text, JSON & HTML

Copy common application/* MIME types in text, JSON, or HTML format for API content negotiation, downloads, and file validation.

Audio MIME Types List | Copy-Ready Text, JSON & HTML

Copy common audio MIME types in text, JSON, or HTML format for uploads, playback support checks, and processing pipelines.

Common MIME Types List | Copy-Ready Text, JSON & HTML

Copy a practical common MIME types list in text, JSON, or HTML format for uploads, APIs, validation, and content handling.

Compressed & Archive File Extensions List

Copy common compressed and archive file extensions in text, JSON, or HTML format. Useful for file validators, dropdowns, and developer references.

Executable File Extensions List

Copy common executable and installer file extensions by platform in text, JSON, or HTML format for quick reference, docs, and developer tools.

HTTP 2xx Success Codes List | Copy-Ready Text, JSON & HTML

Copy all HTTP 2xx success codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows, ready to paste.

HTTP 3xx Redirect Codes List | Copy-Ready Text, JSON & HTML

Copy all HTTP 3xx redirect codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows, ready to paste.

HTTP 4xx Error Codes List | Copy-Ready Text, JSON & HTML

Copy all HTTP 4xx client error codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows.

HTTP 5xx Error Codes List | Copy-Ready Text, JSON & HTML

Copy all HTTP 5xx server error codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows.

HTTP Request Methods List | Copy-Ready Text, JSON & HTML

Copy a clean http request methods list (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS, TRACE, CONNECT) in text, JSON, or HTML for API docs and tooling.

HTTP Status Codes List | Copy-Ready Text, JSON & HTML

Copy the complete IANA-registered HTTP status codes list in text, JSON, or HTML format for APIs, docs, testing, and observability workflows.

Image MIME Types List | Copy-Ready Text, JSON & HTML

Copy common image MIME types in text, JSON, or HTML format for upload validation, image processing, and media tooling.

JSON Data Types List

Copy all 6 native JSON data types from RFC 8259 in text, JSON, or HTML format for quick reference, docs, and dropdown menus.

Regex & String Escape Characters List

Copy common regex and string escape sequences in text, JSON, or HTML format. Includes \n, \t, \r, \\, \0, \uXXXX, and more.

Video MIME Types List | Copy-Ready Text, JSON & HTML

Copy common video MIME types in text, JSON, or HTML format for upload policies, streaming workflows, and player support checks.