MIME Type Lookup
Look up the MIME type for a file extension or vice versa.
Look up the MIME type for a file extension or vice versa. Free, instant and private in your browser.
Loading the interactive tool… This page needs JavaScript to run the MIME Type Lookup.
How to use MIME Type Lookup
- Paste the data, code, token, or value you need to inspect.
- Set any format, encoding, or validation options.
- Run the tool and inspect the result or diagnostic output.
- Copy the output into your terminal, editor, API client, or project.
How MIME Type Lookup works
Type a file extension, with or without a leading dot, or part of a MIME type, and the tool lists matching entries from a built-in table such as png and image/png. Searching image/ lists all image types in the table. It shows up to 30 matches and is a reference list, not a detector for the contents of a file.
Worked example
Input: png → Output: .png with image/png. Searching pdf returns .pdf with application/pdf.
Common uses
- Set the right Content-Type header for a static file in a server config.
- Check the type string to use in an HTML input accept attribute.
- Look up which extension belongs to a MIME type in an API response.
Best for
- debugging and development
- API work
- quick lookups
Tips for better results
- Set the right Content-Type on your server.
- Validate the output before using it in production code.
- Treat tokens, credentials, and secrets as sensitive even when processing happens locally.
- For large payloads, keep an original copy so you can compare changes.
Frequently asked questions
What is a MIME type?
A label such as image/png that tells browsers how to treat a file.
Is my data sent to a server?
No. This tool runs in your browser, so what you enter stays on your device.
Do I need an account to use MIME Type Lookup?
No account or sign-up is needed. Just open the tool and use it.
Related tools
- HTTP Status Codes — Look up HTTP status codes and what they mean.
- Port Number Lookup — Find common TCP/UDP ports and the services that use them.
- AI Token Cost Calculator — Estimate LLM API cost from tokens, requests and per-token prices.
- Base32 Encoder/Decoder — Encode or decode text as Base32.
- Base64 Encoder/Decoder — Encode or decode UTF-8 text as Base64.
- Chmod Calculator — Convert Linux file permissions between octal and symbolic.