MIME Type Lookup

Type an extension, a file name or a MIME type to find its match: .docx, report.xlsx, application/pdf or image/* all work. Each result shows the official type, older names browsers still send, and an accept list for file inputs. Drop a file to see whether its contents match its extension, and browse the full table by category.

image/webp

WebP image: .webp

For an <input accept> attribute
image/webp,.webp

What type is this file really?

Drop any file

Its first bytes are checked against known file signatures

Only the first 64 bytes are read. The file stays on your device.

Browse
ExtensionMIME typeWhat it is
.jpg .jpeg .jpe .jfifimage/jpegJPEG image
.pngimage/pngPNG image
.gifimage/gifGIF image
.webpimage/webpWebP image
.avifimage/avifAVIF image
.heicimage/heicHEIC image (iPhone photos)
.heifimage/heifHEIF image
.svg .svgzimage/svg+xmlSVG vector image
.icoimage/vnd.microsoft.iconIcon (favicon)
.bmpimage/bmpBitmap image
.tif .tiffimage/tiffTIFF image
.psdimage/vnd.adobe.photoshopPhotoshop document
.jxlimage/jxlJPEG XL image
.apngimage/apngAnimated PNG
.dngimage/x-adobe-dngCamera RAW (DNG)
.mp3audio/mpegMP3 audio
.wavaudio/wavWAV audio
.m4aaudio/mp4M4A / AAC audio
.aacaudio/aacAAC audio
.ogg .ogaaudio/oggOgg audio
.opusaudio/opusOpus audio (WhatsApp voice notes use .opus in Ogg)
.flacaudio/flacFLAC lossless audio
.webaaudio/webmWebM audio
.amraudio/amrAMR audio (phone call recordings)
.mid .midiaudio/midiMIDI
.aiff .aifaudio/aiffAIFF audio
.mp4 .m4vvideo/mp4MP4 video
.webmvideo/webmWebM video
.movvideo/quicktimeQuickTime video (iPhone)
.mkvvideo/x-matroskaMatroska video
.avivideo/x-msvideoAVI video
.ogvvideo/oggOgg video
.3gpvideo/3gpp3GP video (older phones)
.tsvideo/mp2tMPEG transport stream (HLS segment)
.m3u8application/vnd.apple.mpegurlHLS playlist
.mpdapplication/dash+xmlMPEG-DASH manifest
.wmvvideo/x-ms-wmvWindows Media video
.flvvideo/x-flvFlash video
.pdfapplication/pdfPDF document
.docapplication/mswordWord 97-2003 document
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.documentWord document
.dotxapplication/vnd.openxmlformats-officedocument.wordprocessingml.templateWord template
.odtapplication/vnd.oasis.opendocument.textOpenDocument text
.rtfapplication/rtfRich Text Format
.epubapplication/epub+zipEPUB e-book
.pagesapplication/vnd.apple.pagesApple Pages document
.xlsapplication/vnd.ms-excelExcel 97-2003 workbook
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetExcel workbook
.xlsmapplication/vnd.ms-excel.sheet.macroEnabled.12Excel macro-enabled workbook
.odsapplication/vnd.oasis.opendocument.spreadsheetOpenDocument spreadsheet
.csvtext/csvComma-separated values
.tsvtext/tab-separated-valuesTab-separated values
.pptapplication/vnd.ms-powerpointPowerPoint 97-2003
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentationPowerPoint presentation
.odpapplication/vnd.oasis.opendocument.presentationOpenDocument presentation
.keyapplication/vnd.apple.keynoteApple Keynote
.txt .text .logtext/plainPlain text
.html .htmtext/htmlHTML page
.csstext/cssCSS stylesheet
.js .mjs .cjstext/javascriptJavaScript
.jsonapplication/jsonJSON
.jsonldapplication/ld+jsonJSON-LD structured data
.mapapplication/jsonSource map
.webmanifestapplication/manifest+jsonWeb app manifest
.xmlapplication/xmlXML
.rssapplication/rss+xmlRSS feed
.atomapplication/atom+xmlAtom feed
.md .markdowntext/markdownMarkdown
.yaml .ymlapplication/yamlYAML
.tomlapplication/tomlTOML
.icstext/calendarCalendar invite (iCalendar)
.vcf .vcardtext/vcardContact card (vCard)
.srtapplication/x-subripSRT subtitles
.vtttext/vttWebVTT subtitles
.sqlapplication/sqlSQL script
.pytext/x-pythonPython source
.shapplication/x-shShell script
.wasmapplication/wasmWebAssembly
.emlmessage/rfc822Email message
.zipapplication/zipZIP archive
.rarapplication/vnd.rarRAR archive
.7zapplication/x-7z-compressed7-Zip archive
.tarapplication/x-tarTar archive
.gz .tgzapplication/gzipGzip archive
.bz2application/x-bzip2Bzip2 archive
.xzapplication/x-xzXZ archive
.zstapplication/zstdZstandard archive
.wofffont/woffWeb font (WOFF)
.woff2font/woff2Web font (WOFF2)
.ttffont/ttfTrueType font
.otffont/otfOpenType font
.eotapplication/vnd.ms-fontobjectEmbedded OpenType font
.apkapplication/vnd.android.package-archiveAndroid app (APK)
.exe .dllapplication/vnd.microsoft.portable-executableWindows program
.msiapplication/x-msiWindows installer
.dmgapplication/x-apple-diskimagemacOS disk image
.debapplication/vnd.debian.binary-packageDebian package
.jarapplication/java-archiveJava archive
.isoapplication/x-iso9660-imageDisk image (ISO)
.binapplication/octet-streamBinary data (any file)
.p12 .pfxapplication/x-pkcs12Certificate with private key (PKCS#12)
.cer .crt .derapplication/pkix-certCertificate
.pemapplication/x-pem-filePEM certificate or key
.gpxapplication/gpx+xmlGPS track (GPX)
.kmlapplication/vnd.google-earth.kml+xmlGoogle Earth (KML)
.glbmodel/gltf-binary3D model (glTF binary)
.gltfmodel/gltf+json3D model (glTF)
.stlmodel/stl3D print model (STL)

The lookup runs in your browser. Your files never leave this device.

Features

  • Extension, file name, MIME type, wildcard or word search

  • Official types plus common older aliases

  • Ready-made accept="..." attribute for file inputs

  • Checks a file's real type from its first bytes

  • Browsable table of 100+ common types

  • Runs in your browser

When you need a MIME type

Upload forms

Limit a file input to PDFs and images with the right accept list, and check the type on the server.

Server and CDN headers

Serve .webp, .woff2, .wasm or .apk with the correct Content-Type so browsers handle them properly.

Debugging downloads

A file that opens as text, or downloads instead of displaying, usually has the wrong Content-Type.

MIME types in practice

Reading a MIME type

A MIME (media) type has a type and a subtype: image/png, application/json. Parameters such as ; charset=utf-8 can follow. Types are registered with IANA; older x- names like audio/x-wav are still common and listed as aliases.

Do not trust the extension alone

Browsers guess a file's type from its name. The file check here reads the first bytes, where most formats keep a signature, to tell you what the file really is. Servers that accept uploads should do the same.

Related tools

Inspect HTTP responses with the HTTP client.

MIME Type Lookup - FAQ