Skip to content

MIME Type Lookup

Look up MIME types by file extension or search MIME types to find associated extensions. Free MIME type reference with 200+ common types.

Showing 162 of 162 MIME types
ExtensionMIME TypeCopy
.jsonapplication/json
.xmlapplication/xml
.pdfapplication/pdf
.zipapplication/zip
.gzapplication/gzip
.tarapplication/x-tar
.7zapplication/x-7z-compressed
.rarapplication/vnd.rar
.bz2application/x-bzip2
.xzapplication/x-xz
.jsapplication/javascript
.mjsapplication/javascript
.cjsapplication/javascript
.wasmapplication/wasm
.docapplication/msword
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
.xlsapplication/vnd.ms-excel
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.pptapplication/vnd.ms-powerpoint
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentation
.odtapplication/vnd.oasis.opendocument.text
.odsapplication/vnd.oasis.opendocument.spreadsheet
.odpapplication/vnd.oasis.opendocument.presentation
.rtfapplication/rtf
.swfapplication/x-shockwave-flash
.jarapplication/java-archive
.warapplication/java-archive
.sqlapplication/sql
.graphqlapplication/graphql
.woffapplication/font-woff
.jsonldapplication/ld+json
.rssapplication/rss+xml
.atomapplication/atom+xml
.xhtmlapplication/xhtml+xml
.epubapplication/epub+zip
.mpkgapplication/vnd.apple.installer+xml
.binapplication/octet-stream
.exeapplication/octet-stream
.dllapplication/octet-stream
.dmgapplication/octet-stream
.isoapplication/octet-stream
.debapplication/x-debian-package
.rpmapplication/x-rpm
.phpapplication/x-httpd-php
.crtapplication/x-x509-ca-cert
.pemapplication/x-pem-file
.p12application/x-pkcs12
.keyapplication/pkcs8
.torrentapplication/x-bittorrent
.icsapplication/calendar
.htmltext/html
.htmtext/html
.csstext/css
.csvtext/csv
.tsvtext/tab-separated-values
.txttext/plain
.logtext/plain
.mdtext/markdown
.markdowntext/markdown
.yamltext/yaml
.ymltext/yaml
.tomltext/toml
.initext/plain
.cfgtext/plain
.conftext/plain
.envtext/plain
.tstext/typescript
.tsxtext/tsx
.jsxtext/jsx
.pytext/x-python
.rbtext/x-ruby
.javatext/x-java-source
.ctext/x-c
.cpptext/x-c++src
.htext/x-c
.hpptext/x-c++hdr
.cstext/x-csharp
.gotext/x-go
.rstext/x-rustsrc
.swifttext/x-swift
.kttext/x-kotlin
.scalatext/x-scala
.shtext/x-shellscript
.bashtext/x-shellscript
.zshtext/x-shellscript
.battext/x-bat
.ps1text/x-powershell
.luatext/x-lua
.rtext/x-r
.darttext/x-dart
.vuetext/x-vue
.sveltetext/x-svelte
.scsstext/x-scss
.sasstext/x-sass
.lesstext/x-less
.styltext/x-stylus
.asmtext/x-asm
.vtttext/vtt
.srttext/srt
.icaltext/calendar
.vcftext/vcard
.jpgimage/jpeg
.jpegimage/jpeg
.pngimage/png
.gifimage/gif
.webpimage/webp
.avifimage/avif
.svgimage/svg+xml
.icoimage/x-icon
.bmpimage/bmp
.tiffimage/tiff
.tifimage/tiff
.heicimage/heic
.heifimage/heif
.jxlimage/jxl
.rawimage/x-raw
.psdimage/vnd.adobe.photoshop
.aiapplication/postscript
.epsapplication/postscript
.apngimage/apng
.curimage/x-icon
.mp3audio/mpeg
.wavaudio/wav
.oggaudio/ogg
.ogaaudio/ogg
.flacaudio/flac
.aacaudio/aac
.m4aaudio/mp4
.wmaaudio/x-ms-wma
.opusaudio/opus
.midaudio/midi
.midiaudio/midi
.aiffaudio/aiff
.webaaudio/webm
.amraudio/amr
.mp4video/mp4
.m4vvideo/mp4
.webmvideo/webm
.ogvvideo/ogg
.avivideo/x-msvideo
.movvideo/quicktime
.wmvvideo/x-ms-wmv
.flvvideo/x-flv
.mkvvideo/x-matroska
.tsvideo/mp2t
.3gpvideo/3gpp
.3g2video/3gpp2
.m3u8application/vnd.apple.mpegurl
.mpdapplication/dash+xml
.woff2font/woff2
.wofffont/woff
.ttffont/ttf
.otffont/otf
.eotapplication/vnd.ms-fontobject
.gltfmodel/gltf+json
.glbmodel/gltf-binary
.objmodel/obj
.stlmodel/stl
.webmanifestapplication/manifest+json
.mapapplication/json
.wsdlapplication/wsdl+xml
.prototext/x-protobuf

About MIME Type Lookup

Look up MIME types (media types) by file extension or search by MIME type string. Includes 162+ entries covering documents, images, audio, video, fonts, code files, and more. Click any row to copy the MIME type to your clipboard.

How to Use MIME Type Lookup

1

Enter file extension

Type an extension (.pdf, .jpg, .html, and so on) or paste a filename. The tool extracts the extension automatically.

2

View MIME type

The tool returns the standard MIME type (the most common one), lists alternatives when multiple exist, and provides a description with usage context.

3

Use in headers

Apply the result to HTTP Content-Type headers, email attachments, file upload validation, and API content negotiation.

4

Verify on real files

The extension lookup gives you the expected MIME type. For real files, check the magic bytes (the file signature) to confirm the actual content type, and combine both checks for accuracy.

When to Use MIME Type Lookup

Web development

Setting the Content-Type header for file uploads and downloads is one of those small configuration tasks that quietly determines whether everything works. The tool gives you the standard MIME type for any file extension, which fits server configuration, API development, and file handling work.

Email attachments

Programmatic email with attachments needs the correct MIME type on every part. The tool makes the lookup quick, which matters when working with SMTP libraries, automated emails, and attachment processing pipelines.

File processing

Categorizing files by MIME type drives a lot of file processing work. Image processors handle image/jpeg, image/png, and image/gif; video tools handle video/mp4 and video/webm. The tool provides a comprehensive lookup that fits file type detection and processing pipelines.

API design

RESTful APIs depend on Content-Type and Accept headers, and the tool helps you pick the right MIME types. It is useful in API design, content negotiation, and integration with diverse clients.

MIME Type Lookup Examples

Common file types

Input
.pdf
Output
application/pdf. Standard MIME type for PDF files. Used in: HTTP Content-Type, email attachments, file downloads.

A standard lookup. PDFs use application/pdf, which is critical for browsers to handle correctly — without it, the browser may not know whether to display or download.

Multiple options

Input
.html
Output
text/html (most common). Also: application/xhtml+xml (XHTML). Charset specifier optional: text/html; charset=utf-8.

Some extensions have more than one valid MIME type. The tool shows the most common first and lists alternatives so you can choose based on context.

Modern formats

Input
.webp
Output
image/webp. Modern image format (Google, since 2010). Better compression than JPG/PNG.

Modern formats have their own MIME types, and serving the correct one matters. Send the wrong MIME and the browser may not display the format properly.

Tips & Best Practices for MIME Type Lookup

  • 1.Always set the correct Content-Type. HTTP responses without a proper MIME type can be misinterpreted by the browser, which creates security risks and broken displays.
  • 2.Include the charset on text content. text/html; charset=utf-8 is unambiguous, while leaving the charset out forces the browser to auto-detect, which sometimes gets it wrong.
  • 3.Distinct MIME types matter for security. Browsers treat application/octet-stream very differently from text/plain, and the wrong type can introduce XSS or other security issues.
  • 4.Use modern alternatives where they exist. application/json is now standard for JSON (it used to be served as text/plain), and image/svg+xml is the right type for SVG. Update old configurations.
  • 5.Do not rely on MIME type sniffing. Some browsers detect the type from content when Content-Type is missing or wrong, but you should always send the correct type.
  • 6.When uploading multiple files, multipart/form-data is the MIME type for the form itself, and each part has its own Content-Type.

Frequently Asked Questions

MIME stands for Multipurpose Internet Mail Extensions, and a MIME type is a standardized identifier for file content. The format is type/subtype — text/html, image/jpeg, application/pdf, and so on. It tells browsers, email clients, and other applications how to handle a file, which makes it critical for HTTP Content-Type headers, email attachments, and file uploads.