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- 1Choose a format
Pick text, JSON, or HTML depending on your project needs.
- 2Copy or download
Hit the copy button or download the file for offline use.
- 3Paste into your workflow
Use the data in a form, validator, documentation page, or seed file.
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.
".pdf - Portable Document Format"
.pdf - Portable Document Format
JSON output of bare extensions for code use.
".pdf"
[".csv", ".doc", ".docx", ".epub", ".md", ...]
HTML output for a dropdown menu.
".pdf - Portable Document Format"
<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.
Switch between text, JSON, and HTML output with one click.
- Plain text list
- JSON array of extensions
- HTML <option> tags
Each entry pairs the bare extension with its full format name for fast scanning.
- Extension + format name
- Leading dot included
- Alphabetical ordering
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?>
Why does the JSON format only show the extension and not the format name?>
Are image, audio, or archive formats included in this list?>
Related Developer lists
Copy common application/* MIME types in text, JSON, or HTML format for API content negotiation, downloads, and file validation.
Copy common audio MIME types in text, JSON, or HTML format for uploads, playback support checks, and processing pipelines.
Copy a practical common MIME types list in text, JSON, or HTML format for uploads, APIs, validation, and content handling.
Copy common compressed and archive file extensions in text, JSON, or HTML format. Useful for file validators, dropdowns, and developer references.
Copy common executable and installer file extensions by platform in text, JSON, or HTML format for quick reference, docs, and developer tools.
Copy all HTTP 2xx success codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows, ready to paste.
Copy all HTTP 3xx redirect codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows, ready to paste.
Copy all HTTP 4xx client error codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows.
Copy all HTTP 5xx server error codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows.
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.
Copy the complete IANA-registered HTTP status codes list in text, JSON, or HTML format for APIs, docs, testing, and observability workflows.
Copy common image MIME types in text, JSON, or HTML format for upload validation, image processing, and media tooling.
Copy all 6 native JSON data types from RFC 8259 in text, JSON, or HTML format for quick reference, docs, and dropdown menus.
Copy common regex and string escape sequences in text, JSON, or HTML format. Includes \n, \t, \r, \\, \0, \uXXXX, and more.
Copy common video MIME types in text, JSON, or HTML format for upload policies, streaming workflows, and player support checks.