BYTETOOLS

MIME Type Lookup

Look up MIME types by file extension and vice-versa with a solid map of common formats. Search by extension or content type — free, instant and private.

ExtensionMIME typeDescription
.txttext/plainPlain text
.htmltext/htmlHTML document
.htmtext/htmlHTML document
.csstext/cssCascading style sheet
.csvtext/csvComma-separated values
.mdtext/markdownMarkdown
.jstext/javascriptJavaScript
.mjstext/javascriptJavaScript module
.jsonapplication/jsonJSON
.jsonldapplication/ld+jsonJSON-LD
.xmlapplication/xmlXML
.webmanifestapplication/manifest+jsonWeb app manifest
.pdfapplication/pdfPDF document
.zipapplication/zipZIP archive
.gzapplication/gzipGzip archive
.tarapplication/x-tarTar archive
.rarapplication/vnd.rarRAR archive
.7zapplication/x-7z-compressed7-Zip archive
.binapplication/octet-streamBinary data
.docapplication/mswordMicrosoft Word (legacy)
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.documentMicrosoft Word
.xlsapplication/vnd.ms-excelMicrosoft Excel (legacy)
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetMicrosoft Excel
.pptapplication/vnd.ms-powerpointMicrosoft PowerPoint (legacy)
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentationMicrosoft PowerPoint
.odtapplication/vnd.oasis.opendocument.textOpenDocument text
.odsapplication/vnd.oasis.opendocument.spreadsheetOpenDocument spreadsheet
.rtfapplication/rtfRich text format
.pngimage/pngPNG image
.jpgimage/jpegJPEG image
.jpegimage/jpegJPEG image
.gifimage/gifGIF image
.webpimage/webpWebP image
.avifimage/avifAVIF image
.svgimage/svg+xmlSVG image
.icoimage/vnd.microsoft.iconIcon
.bmpimage/bmpBitmap image
.tifimage/tiffTIFF image
.tiffimage/tiffTIFF image
.heicimage/heicHEIC image
.mp3audio/mpegMP3 audio
.wavaudio/wavWAV audio
.oggaudio/oggOgg audio
.ogaaudio/oggOgg audio
.m4aaudio/mp4MPEG-4 audio
.flacaudio/flacFLAC audio
.aacaudio/aacAAC audio
.webaaudio/webmWebM audio
.mp4video/mp4MPEG-4 video
.webmvideo/webmWebM video
.ogvvideo/oggOgg video
.movvideo/quicktimeQuickTime video
.avivideo/x-msvideoAVI video
.mkvvideo/x-matroskaMatroska video
.ttffont/ttfTrueType font
.otffont/otfOpenType font
.wofffont/woffWOFF font
.woff2font/woff2WOFF2 font
.eotapplication/vnd.ms-fontobjectEmbedded OpenType font
.wasmapplication/wasmWebAssembly
.icstext/calendariCalendar
.epubapplication/epub+zipEPUB e-book
.apkapplication/vnd.android.package-archiveAndroid package

What is the MIME Type Lookup?

The ByteTools MIME Type Lookup maps file extensions to their MIME (media) types and back again. Whether you have a .

  • Two-way lookup: extension to MIME type and back
  • Comprehensive map of documents, media, fonts and archives
  • Short description for every format
  • Instant filtering by extension or content type
  • Loads instantly and works offline
  • 100% client-side — no data is uploaded

How to use the MIME Type Lookup

  1. 1

    Type a file extension (like mp4) or a MIME type (like video/) into the search box.

  2. 2

    Browse the filtered list of matching formats.

  3. 3

    Read the extension, MIME type and description for each match.

  4. 4

    Copy the correct Content-Type value into your server or code.

About the MIME Type Lookup

The ByteTools MIME Type Lookup maps file extensions to their MIME (media) types and back again. Whether you have a .webp file and need its Content-Type header, or you see application/pdf in a response and want the matching extension, one search box answers both.

It ships with a comprehensive list of common formats across documents, images, audio, video, fonts, archives and web assets, each with a short human-readable description. Type an extension like png or part of a MIME type like image/ and the table filters instantly.

Everything is bundled and searched locally in your browser, so the lookup is instant and works offline. It is the quick reference you need when configuring servers, setting Content-Type headers, or validating file uploads.

Frequently asked questions

What is a MIME type?

A MIME type, also called a media type or content type, is a label like text/html or image/png that tells software what kind of data a file contains. Browsers and servers use it, via the Content-Type header, to decide how to handle a file.

How do I find the MIME type for a file extension?

Type the extension into the search box — for example png — and the table shows its MIME type, image/png, along with a description. You can search the other way too by entering part of a content type.

What is the MIME type for a JSON file?

The standard MIME type for JSON is application/json. For JSON-LD it is application/ld+json. Serving JSON with the correct content type ensures browsers and clients parse it properly.

Why does my file download instead of opening in the browser?

Often the server is sending application/octet-stream or the wrong content type, so the browser cannot preview it and downloads it instead. Setting the correct MIME type for the file's extension usually fixes this.

Can two extensions share the same MIME type?

Yes. For example .jpg and .jpeg both map to image/jpeg, and .htm and .html both map to text/html. The lookup lists each extension separately so you can confirm the exact pairing.

Is this lookup done online?

No. The mapping is embedded in the page and searched in your browser, so it responds instantly and continues to work even without an internet connection.

Guides for MIME Type Lookup

Related tools