Free MIME Type Lookup Online (No Signup)

Search and lookup MIME types by file extension or vice versa.

100% FreeNo Sign-upRuns in BrowserPrivacy First
ExtensionMIME Type
.css
text/css
.csv
text/csv
.html
text/html
.jpg
image/jpeg
.js
text/javascript
.json
application/json
.mp3
audio/mpeg
.mp4
video/mp4
.pdf
application/pdf
.png
image/png
.svg
image/svg+xml
.webp
image/webp
.xml
application/xml
.zip
application/zip
Showing common file types. Use the search bar to find specific extensions.

Overview

When a web browser requests a file from a server, it doesn't look at the file extension (like .jpg or .json) to decide how to process it. Instead, it relies on the Content-Type HTTP header, which is defined by a standardized MIME (Multipurpose Internet Mail Extensions) type. If a server is misconfigured and sends the wrong MIME type, the browser might try to download a webpage instead of rendering it, or display a broken image icon. Our MIME Type Lookup is an essential reference utility for developers configuring servers or writing API responses.

This tool is designed for sheer speed. Instead of scrolling through massive Wikipedia tables or IANA documentation, you simply start typing into the search bar. If you know the file extension (e.g., 'csv'), type it in to instantly reveal the correct MIME type (text/csv). Alternatively, if you are looking at a raw HTTP response header and want to know what kind of file it represents, you can reverse-search the MIME string. If you are actively configuring a web server, you might also find our YAML to JSON Converter helpful for managing config files.

Accuracy is critical when dealing with web standards. Our database includes both standard historical types and modern formats (like WebP, AVIF, and WASM) to ensure you always have the correct string. Because the entire dataset is bundled directly into the application, your searches execute in milliseconds without any network latency. For developers dealing with file uploads and encoding, pair this tool with our Base64 Encoder.

Whether you are setting up an Nginx server, writing a Node.js file uploader, or debugging a tricky API response in Postman, this free, ad-unobtrusive lookup tool is the perfect quick-reference guide.

Key Features

Bi-Directional Search: Enter a file extension (like '.pdf') to find its MIME type, or enter a MIME type (like 'image/png') to find associated extensions.
Massive Database: Queries a comprehensive, up-to-date registry of standard IANA MIME types and common web developer formats.
Instant Filtering: The search results update dynamically as you type, instantly narrowing down hundreds of matches to the exact one you need.
One-Click Copy: Easily copy the precise 'Content-Type' string to your clipboard for immediate use in HTTP headers.
100% Offline: The entire database is loaded into your browser, meaning searches execute instantly without waiting for a server response.

How to Use MIME Type Lookup

1Click the search bar to activate the interactive database.
2To find a MIME type: Type a file extension (e.g., 'pdf', 'mp4', or 'json'). Do not include the period.
3To find an extension: Type a MIME category or specific type (e.g., 'video/' or 'image/svg+xml').
4Watch the results instantly filter down as you type.
5Click the copy icon next to the correct MIME string to save it to your clipboard for your HTTP headers.

Benefits

  • Prevents Rendering Bugs: Ensures you use the exact, correct 'Content-Type' header so browsers process your files correctly rather than forcing a download.
  • Saves Time: Eliminates the need to search through dense, hard-to-read official IANA documentation tables.
  • Enhances Security: Helps backend developers strictly validate the MIME types of user-uploaded files (like profile pictures) before accepting them.
  • Works Offline: The database is cached locally, allowing you to debug server configurations even if you temporarily lose internet access.

Common Use Cases

Backend Developers

Determine the exact Content-Type header needed when returning dynamically generated files (like PDFs or CSVs) from an API endpoint.

Systems Administrators

Update Nginx or Apache server configuration files to ensure the server correctly identifies and serves modern file formats like WebP or WASM.

Security Engineers

Build robust file upload validation logic that checks the incoming MIME type against an allowed whitelist to prevent malicious script uploads.

Tips & Best Practices

  • Never rely solely on a file's extension for security. A malicious user can rename 'virus.exe' to 'image.jpg'. Always inspect the file signature alongside validating the MIME type.
  • Some file extensions have multiple acceptable MIME types depending on the context, but the tool will highlight the most standard, widely-accepted web format.
  • If you are serving custom font files, ensure you are using the modern 'font/woff2' type rather than legacy types to prevent browser console warnings.