Skip to main content
chain
M
MIME Type Lookup
⌃⏎ run · ⎋ clear · / focus input
Result
send output to
no matches
Result appears here as you type
runs in your browser · nothing uploaded
// about this tool

MIME Type Lookup Online

Updated 2026-10-24

Look up MIME types online for free. Enter a file extension to find its MIME type, or a MIME type to find the extensions that map to it, all from a built-in table in your browser, so nothing is uploaded.

The MIME type in a Content-Type header is what tells a browser to display a file rather than download it, and getting it wrong causes broken images, forced downloads, and rejected uploads. This two-way reference gives you the exact mapping in a second, whether you are configuring a server, setting a response header, or validating what a user uploaded.

// how to use

  1. 1 Type a file extension (like png) or a MIME type (like image/png) into the input panel.
  2. 2 SnapTools shows the matching MIME type, or the extensions that map to it.
  3. 3 Copy the result to use in headers, config, or validation.

// examples

Extension to MIME type
Input
svg
Output
image/svg+xml
MIME type to extensions
Input
application/json
Output
json

// common uses

Setting the correct Content-Type header for a response Configuring MIME types in a web server or CDN Validating file uploads by extension or type Debugging incorrect file handling in the browser

// faq

Is anything uploaded to a server?
No. The lookup runs entirely in your browser from a built-in table, so nothing you type leaves your machine.
What is a MIME type?
A MIME type (also called a media type) labels the format of a file or response body, like text/html or image/png. Servers send it in the Content-Type header so clients know how to handle the data.
Does it work in both directions?
Yes. Enter an extension to get its MIME type, or enter a MIME type to see the file extensions that map to it.
Why does one MIME type have several extensions?
Some formats have more than one common extension (for example JPEG images use both jpg and jpeg), so the lookup lists all the ones that map to a given type.
Where would I use this?
Setting the correct Content-Type header, configuring a web server or CDN, validating uploads by their declared type, or debugging why a browser downloads a file instead of displaying it.

Use this via API

Get a free API key →
curl -X POST https://thesnaptools.com/api/v1/tools/mime-type-lookup \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"svg"}'