Utilumo
LightDarkSystem

Updated June 29, 2026

MIME Types List and Content-Type Lookup

A MIME type, also called a media type, tells software what kind of data a file or HTTP response contains. Servers send it in the Content-Type header, for example text/html, application/json, or image/png.

Text

MIME typeExtensionWhat it is
text/plain.txtPlain, unformatted text.
text/html.htmlHTML web pages.
text/css.cssCascading Style Sheets.
text/csv.csvComma-separated values.
text/markdown.mdMarkdown source text.
text/calendar.icsiCalendar calendar files.

Application

MIME typeExtensionWhat it is
application/json.jsonJSON data, common for APIs.
application/xml.xmlXML data.
application/javascript.jsJavaScript code.
application/pdf.pdfPDF documents.
application/zip.zipZIP archives.
application/wasm.wasmWebAssembly modules.
application/octet-stream(any)Arbitrary binary data, often a download.

Images

MIME typeExtensionWhat it is
image/jpeg.jpgJPEG photos.
image/png.pngPNG images with transparency.
image/gif.gifGIF images and simple animation.
image/webp.webpWebP images.
image/avif.avifAVIF images.
image/svg+xml.svgScalable vector graphics.

Audio and video

MIME typeExtensionWhat it is
audio/mpeg.mp3MP3 audio.
audio/wav.wavUncompressed WAV audio.
video/mp4.mp4MP4 video.
video/webm.webmWebM video.

Fonts

MIME typeExtensionWhat it is
font/woff2.woff2Web Open Font Format 2, the modern web font.
font/woff.woffWeb Open Font Format.
font/ttf.ttfTrueType font.
Why MIME types matterBrowsers act on the Content-Type, not the file extension. A wrong MIME type can make a page download instead of render, or trigger X-Content-Type-Options: nosniff errors.

References

Questions

What is the difference between a MIME type and a file extension?

A file extension is part of the file name; a MIME type is metadata sent in the Content-Type header. Browsers trust the MIME type to decide how to handle a response.

What MIME type should JavaScript use?

Modern servers should serve JavaScript as text/javascript or application/javascript. Both are widely accepted by browsers.