MIME CABINET
DOCX MIME type and file extension lookup
Look up a filename such as photo.jpg to find its media type, or open a file to check what its first bytes reveal.
Worked example · MIME Cabinet
What this example shows
The filename report.docx is an illustrative lookup. The result comes from the bundled media-type reference; no document is uploaded or inspected by this example.
report.docx matches 1 reference entry. The parsed declaration identifies application/vnd.openxmlformats-officedocument.wordprocessingml.document.
mime-db 1.54.0, captured on 23 November 2026. A filename lookup is reference information, not validation of file bytes.
| Media type | Known extensions | Reference provenance |
|---|---|---|
| application/vnd.openxmlformats-officedocument.wordprocessingml.document | .docx | iana |
DOCX files use a ZIP-based package. A ZIP header can be compatible with a DOCX declaration without proving the Office subtype or validating the document.
Multiple media types can share an extension. The lookup preserves all matching reference entries.
Try it with your own input
- Change report.docx to your own filename, extension or media type and choose Look up.
- Select a returned type to see its known extensions and provenance.
- For a file you own, use Inspect file header to compare separate filename, browser and byte-pattern observations.
Edit the prefilled example · Open the main tool
Sources and related tools
- Bundled mime-db 1.54.0
- IANA media type registry
- Interpret an entire HTTP response
- Inspect photo metadata locally
- How to read a worked tool example
Another worked example
Opening the local reference…
Local lookup · no uploadTHE REFERENCE
Find the right label.
A media type, an extension, a filename or a keyword.
THE DECLARATION
Unpack Content-Type.
Paste one HTTP header value to separate its type, suffix and parameters.
The declaration describes how a body should be interpreted. It does not verify the body’s bytes.
THE FIRST BYTES
Inspect a file’s clues.
Choose a file on this device. Its contents are read only on this device.
Only a bounded prefix is read. A signature match is an indicator, not a safety verdict or full format validation.
First 64 bytes in hexadecimal
READ THE EVIDENCE IN CONTEXT
Three clues.
Room for disagreement.
A reference, not a registry verdict
The bundled mime-db maps media types to known extensions and records IANA, Apache or nginx provenance when available. Multiple types can share an extension. Its compressibility flag describes typical content, not an HTTP Content-Encoding already applied.
A bounded header inspection
The first bytes are compared with a small, documented collection of format patterns. ZIP, Ogg and ISO media containers can hold several formats. Archives are not extracted, content is not executed, and unknown signatures stay unknown.
A file can be damaged, truncated, misleading or contain additional content despite a matching header. This is not a malware scanner.
Keep the original local
Queries, header values, filenames and file bytes stay in this tab. The app loads its own static reference files and CoolCode’s shared usage counter. It stores no inputs automatically. Download an inspection JSON if you want to retain one; that file includes the filename and first 64 bytes.