MIME Type Lookup
Type a file extension to see its MIME type, or paste a MIME type to see which extensions use it. Handy when setting a Content-Type header or configuring a server. Everything runs in your browser.
How to look up a MIME type
- Type a file extension like png, json or .svg into the search box.
- Read the matching MIME type, ready to drop into a Content-Type header.
- Or paste a MIME type such as image/png to list every extension that uses it.
Examples
Extension to MIME type
.svg
image/svg+xml
MIME type to extensions
image/jpeg
jpeg, jpg
Frequently asked questions
What is a MIME type?
A MIME type, also called a media type, is a short label like text/html or image/png that tells software what kind of data a file holds. The part before the slash is the general category and the part after is the specific format.
Where does the Content-Type header use this?
When a server sends a file, it sets a Content-Type header to the file's MIME type. The browser reads that header to decide how to handle the response, for example rendering HTML, showing an image or downloading a binary.
Why does the MIME type matter when serving files?
Browsers trust the declared MIME type over the file name. Send CSS as text/plain and the page will not style; send a script with the wrong type and strict browsers will refuse to run it. The right type keeps assets working and avoids security blocks.
Why do some MIME types map to several extensions?
Many formats have more than one common extension. For example jpg and jpeg are both image/jpeg, and yml and yaml are both application/yaml. The reverse lookup lists every extension that shares a type.
Is the lookup guaranteed to be the official type?
These are the IANA registered or most widely used types for each extension. A few formats have competing types in the wild, so always confirm against your server or framework defaults if behavior looks off.
Is my input sent anywhere?
No. The extension and MIME type tables are bundled with the page, so every lookup happens locally in your browser and nothing is uploaded.
Related tools
HTTP Status Codes
Searchable list of HTTP status codes from 1xx to 5xx. Look up any code by number or name and see what 200, 301, 404 and 500 mean.
UUID Validator
Validate a UUID and detect its version and variant. Paste a UUID or GUID, see if the format is valid, and read its version, variant and nil status.
.env to JSON
Convert a .env file to JSON, or JSON back to .env. Parses KEY=value lines, comments, quotes and export. Runs entirely in your browser.
Aspect Ratio Calculator
Calculate aspect ratios fast. Enter a ratio like 16:9 and one dimension to get the other, or enter width and height to simplify the ratio.
Base58 Encoder
Encode and decode Base58 online with the Bitcoin alphabet. Convert text to Base58 or back, UTF-8 safe, no confusing 0 O I l. Runs in your browser.
Base64 Decode
Decode Base64 to plain text online. Paste a Base64 or base64url string and get instant UTF-8 output. Free, fast and runs in your browser.