Skip to main content
Developer

MIME Type Lookup

Look up the correct Content-Type for any file extension.

ExtensionContent-TypeUsed for
.htmltext/html; charset=utf-8Web pages
.csstext/css; charset=utf-8Stylesheets
.jstext/javascript; charset=utf-8JavaScript modules
.jsonapplication/jsonAPIs and config
.pngimage/pngRaster images
.jpg / jpegimage/jpegPhotos
.webpimage/webpModern images
.avifimage/avifNext-gen images
.svgimage/svg+xmlVector icons/logos
.icoimage/x-iconFavicons
.woff2font/woff2Web fonts
.mp4video/mp4Video
.webmvideo/webmVideo
.mp3audio/mpegAudio
.oggaudio/oggAudio (Ogg/Vorbis)
.pdfapplication/pdfDocuments
.zipapplication/zipArchives
.gzapplication/gzipCompressed
.csvtext/csv; charset=utf-8Tabular data
.xmlapplication/xmlSitemaps, feeds
.txttext/plain; charset=utf-8Plain text, robots.txt
.m3u8application/vnd.apple.mpegurlHLS playlists
.tsvideo/mp2tHLS segments
.wasmapplication/wasmWebAssembly

A built-in reference that runs in your browser. Free.

About this tool

Free MIME type reference. Find the correct Content-Type header for common file extensions, with notes on where each is typically used.

Frequently asked questions

What is a MIME type?

A MIME type (media type) tells a browser or client how to interpret a file, such as text/html or image/webp.

Why does mine serve the wrong type?

Server configuration decides the Content-Type. Checking it with our SSL/redirect tool shows what your server actually sends.

Does it cover every format?

It covers the extensions most sites use day to day; obscure formats may be missing.

Need more than a tool?

HostingSwift runs the servers too — VPS, web hosting, email, DNS and streaming, with a free tier to start.