Current toolMIME type lookup
Web · WEB-08Submit an issue

MIME type lookup

Look up common media types by file extension, MIME type or description.

Extension · MIME type search
Input
ExtensionMIME typeDescription
.txttext/plainPlain text
.html .htmtext/htmlHTML document
.csstext/cssCascading Style Sheets
.csvtext/csvComma-separated values
.md .markdowntext/markdownMarkdown document
.xmlapplication/xmlXML document
.jsonapplication/jsonJSON data
.jsonldapplication/ld+jsonLinked Data JSON
.js .mjstext/javascriptJavaScript source
.wasmapplication/wasmWebAssembly binary
.pdfapplication/pdfPDF document
.rtfapplication/rtfRich Text Format
.docapplication/mswordMicrosoft Word document
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.documentMicrosoft Word Open XML
.xlsapplication/vnd.ms-excelMicrosoft Excel workbook
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetMicrosoft Excel Open XML
.pptapplication/vnd.ms-powerpointMicrosoft PowerPoint presentation
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentationMicrosoft PowerPoint Open XML
.odtapplication/vnd.oasis.opendocument.textOpenDocument text
.odsapplication/vnd.oasis.opendocument.spreadsheetOpenDocument spreadsheet
.pngimage/pngPNG image
.jpg .jpegimage/jpegJPEG image
.gifimage/gifGIF image
.webpimage/webpWebP image
.avifimage/avifAVIF image
.svgimage/svg+xmlSVG vector image
.icoimage/vnd.microsoft.iconIcon image
.bmpimage/bmpBitmap image
.tif .tiffimage/tiffTIFF image
.mp3audio/mpegMP3 audio
.wavaudio/wavWaveform audio
.ogg .ogaaudio/oggOgg audio
.m4aaudio/mp4MPEG-4 audio
.aacaudio/aacAAC audio
.flacaudio/flacFLAC audio
.mp4 .m4vvideo/mp4MPEG-4 video
.webmvideo/webmWebM video
.ogvvideo/oggOgg video
.movvideo/quicktimeQuickTime video
.avivideo/x-msvideoAVI video
.wofffont/woffWeb Open Font Format
.woff2font/woff2Web Open Font Format 2
.ttffont/ttfTrueType font
.otffont/otfOpenType font
.eotapplication/vnd.ms-fontobjectEmbedded OpenType font
.zipapplication/zipZIP archive
.gzapplication/gzipGzip archive
.tarapplication/x-tarTAR archive
.7zapplication/x-7z-compressed7-Zip archive
.rarapplication/vnd.rarRAR archive
.bz2application/x-bzip2Bzip2 archive
.binapplication/octet-streamGeneric binary data
.epubapplication/epub+zipEPUB ebook
.icstext/calendarCalendar data
.vcftext/vcardvCard contact
.webmanifestapplication/manifest+jsonWeb app manifest
.yaml .ymlapplication/yamlYAML data
.shapplication/x-shShell script
.phpapplication/x-httpd-phpPHP source
.apkapplication/vnd.android.package-archiveAndroid package
Usage guide and examples

MIME type lookup

Look up common media types by file extension, MIME type or description.

Check the input format and options with this example before using your own data. Random values, file sizes and presentation vary with the input and settings.

Example input and settings

.png

What to check in the result

image/png
Media type reference

Find a MIME type for a file extension or HTTP header

Search for an extension such as png or a media type such as image/png. This is a reference lookup, not an inspection of uploaded file bytes.

01

PNG and JSON examples

A PNG image commonly uses image/png. JSON commonly uses application/json. Copy the media type matching the actual representation your server returns.

02

Content-Type and Accept differ

Content-Type describes the representation being sent. Accept expresses which response media types a client accepts. Looking up a type does not configure either header automatically.

03

An extension is not proof of file contents

Renaming a file to .png does not turn it into an image. Use the file type inspector for a header-based check; neither tool replaces malware analysis.