📋

MIME Types

Description

Practical Guide
Search:
MIME Types (62):
Extensionmime-typeDescriptionCategoryActions
.jpgimage/jpegJPEG ImageImage
.jpegimage/jpegJPEG ImageImage
.pngimage/pngPNG ImageImage
.gifimage/gifGIF ImageImage
.webpimage/webpWebP ImageImage
.svgimage/svg+xmlSVG ImageImage
.icoimage/x-iconIcon FileImage
.bmpimage/bmpBitmap ImageImage
.tiffimage/tiffTIFF ImageImage
.pdfapplication/pdfPDF DocumentDocument
.docapplication/mswordWord DocumentDocument
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.documentWord Document (OOXML)Document
.xlsapplication/vnd.ms-excelExcel SpreadsheetDocument
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetExcel Spreadsheet (OOXML)Document
.pptapplication/vnd.ms-powerpointPowerPoint PresentationDocument
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentationPowerPoint Presentation (OOXML)Document
.txttext/plainPlain TextDocument
.rtfapplication/rtfRich Text FormatDocument
.mp3audio/mpegMP3 AudioAudio
.wavaudio/wavWAV AudioAudio
  • Showing 1-20 of 62 items
  • 1
  • 2
  • 3
  • 4
  • 跳至页

❓What is MIME Types

MIME types (Multipurpose Internet Mail Extensions) are standardized identifiers used to specify the nature and format of files on the internet. Defined by RFC 6838, MIME types follow the format type/subtype (e.g., text/html, application/json, image/png). MIME types inform browsers and servers how to handle different file formats, enabling proper content rendering, file downloads, and HTTP Content-Type header configuration. Modern web applications use MIME types for file upload validation, API response formatting, content negotiation, and security policies (Content Security Policy). Understanding MIME types is essential for web development, API design, file handling, and HTTP communication.

✨Features

🔄

MIME Type to Extension Lookup

Quickly find file extensions for any MIME type. Enter a MIME type like 'image/jpeg' to discover all associated file extensions.
📁

Extension to MIME Type Lookup

Find the correct MIME type for any file extension. Search for extensions like '.pdf' or '.mp4' to get the corresponding MIME type.
📊

Comprehensive Database

Access a complete database of over 200 common MIME types covering images, documents, audio, video, archives, code files, and fonts.
🔎

Advanced Search

Smart search functionality supports searching by extension, MIME type, description, or category with real-time filtering and results.

🎯Use Cases

Web debugging

Use MIME Types to inspect browser, HTTP, API, storage, or configuration behavior while diagnosing frontend and backend integration issues.

Pre-release checks

MIME Types is useful before release when validating headers, browser data, URLs, CORS settings, API behavior, or client-side assumptions.

Support and handoff

Create reproducible examples with MIME Types for bug reports, support tickets, implementation guides, and team knowledge base articles.

📚Practical Guide

What are MIME Types

MIME (Multipurpose Internet Mail Extensions) types are standardized identifiers that indicate the nature and format of files transmitted over the internet. Each MIME type consists of a primary type (such as text, image, audio, video, or application) and a subtype separated by a slash (e.g., text/html, image/jpeg, application/json). MIME types enable browsers and servers to correctly interpret and handle different file formats,

MIME Type Structure and Categories

MIME types follow a hierarchical structure with major categories including text (text files and documents), image (image formats), audio (audio files), video (video formats), application (application-specific files), multipart (composite content), and message (email messages). Each category contains numerous subtypes that specify the exact file format. For example, the image category includes image/jpeg, image/png, image/gif, image/webp, and image/svg+xml among others.

Usage in Web Development

MIME types play a crucial role in web development for HTTP Content-Type headers, file upload validation, browser file handling, API response formatting, and content negotiation. Proper MIME type configuration ensures files are downloaded correctly, prevents security vulnerabilities, enables correct browser rendering, and supports Content Security Policy (CSP) implementation. Modern web applications rely on accurate MIME type detection for feature

💬Frequently Asked Questions

❓Why do developers need a dedicated MIME type lookup?
Incorrect MIME headers break downloads, previews, and security rules. This tool keeps an authoritative catalog so you can copy the right value for HTTP responses, uploads, and Content Security Policy configuration.
💬What is the difference between a file extension and a MIME type?
An extension is only a filename hint, while a MIME type is the formal identifier used by browsers, servers, and APIs. Always rely on the MIME type (e.g., application/pdf) when setting Content-Type headers.
🔍How do I find the right Content-Type for an upload or API response?
Search by extension or description, copy the MIME string from the results, and paste it into your server, CDN, or API code. The list covers images, fonts, archives, scripts, and more.
💡Does the database include vendor or uncommon media types?
Yes. The dataset merges the IANA registry with popular vendor-prefixed (vnd.), personal (prs.), and experimental (x-) types. Use category filters to spot niche entries quickly.
📚Can I define custom MIME types for proprietary formats?
You can register a vendor tree value such as application/vnd.yourcompany+json. Until it is official, treat it as a custom type but still advertise it consistently via the Content-Type header.

🔗Related Documents

🎓IANA Media TypesOfficial MIME type registry
⚡RFC 6838 - Media Type SpecificationsMedia type specifications and registration
📚MDN - Content-Type HeaderHTTP Content-Type header reference

User Comments

0 / 2000
Loading...