Skip to content

Instantly share code, notes, and snippets.

@jimschubert
Created March 17, 2017 20:26
Show Gist options
  • Save jimschubert/94894c938d8f9f64c6863b28c70a22cc to your computer and use it in GitHub Desktop.
Save jimschubert/94894c938d8f9f64c6863b28c70a22cc to your computer and use it in GitHub Desktop.
List of more common mime types from MDN, in CSV and TSV
Name MIMEType Extension Description
aac audio/aac .aac AAC audio file
abw application/x-abiword .abw AbiWord document
arc application/octet-stream .arc Archive document (multiple files embedded)
avi video/x-msvideo .avi AVI: Audio Video Interleave
azw application/vnd.amazon.ebook .azw Amazon Kindle eBook format
bin application/octet-stream .bin Any kind of binary data
bz application/x-bzip .bz BZip archive
bz2 application/x-bzip2 .bz2 BZip2 archive
csh application/x-csh .csh C-Shell script
css text/css .css Cascading Style Sheets (CSS)
csv text/csv .csv Comma-separated values (CSV)
doc application/msword .doc Microsoft Word
epub application/epub+zip .epub Electronic publication (EPUB)
gif image/gif .gif Graphics Interchange Format (GIF)
htm .htm
html text/html .html HyperText Markup Language (HTML)
ico image/x-icon .ico Icon format
ics text/calendar .ics iCalendar format
jar application/java-archive .jar Java Archive (JAR)
jpeg .jpeg
jpg image/jpeg .jpg JPEG images
js application/javascript .js JavaScript (ECMAScript)
json application/json .json JSON format
mid .mid
midi audio/midi .midi Musical Instrument Digital Interface (MIDI)
mpeg video/mpeg .mpeg MPEG Video
mpkg application/vnd.apple.installer+xml .mpkg Apple Installer Package
odp application/vnd.oasis.opendocument.presentation .odp OpenDocuemnt presentation document
ods application/vnd.oasis.opendocument.spreadsheet .ods OpenDocuemnt spreadsheet document
odt application/vnd.oasis.opendocument.text .odt OpenDocument text document
oga audio/ogg .oga OGG audio
ogv video/ogg .ogv OGG video
ogx application/ogg .ogx OGG
pdf application/pdf .pdf Adobe Portable Document Format (PDF)
ppt application/vnd.ms-powerpoint .ppt Microsoft PowerPoint
rar application/x-rar-compressed .rar RAR archive
rtf application/rtf .rtf Rich Text Format (RTF)
sh application/x-sh .sh Bourne shell script
svg image/svg+xml .svg Scalable Vector Graphics (SVG)
swf application/x-shockwave-flash .swf Small web format (SWF) or Adobe Flash document
tar application/x-tar .tar Tape Archive (TAR)
tif .tif
tiff image/tiff .tiff Tagged Image File Format (TIFF)
ttf font/ttf .ttf TrueType Font
vsd application/vnd.visio .vsd Microsft Visio
wav audio/x-wav .wav Waveform Audio Format
weba audio/webm .weba WEBM audio
webm video/webm .webm WEBM video
webp image/webp .webp WEBP image
woff font/woff .woff Web Open Font Format (WOFF)
woff2 font/woff2 .woff2 Web Open Font Format (WOFF)
xhtml application/xhtml+xml .xhtml XHTML
xls application/vnd.ms-excel .xls Microsoft Excel
xml application/xml .xml XML
xul application/vnd.mozilla.xul+xml .xul XUL
zip application/zip .zip ZIP archive
3gp video/3gpp .3gp 3GPP audio/video container
audio/3gpp if it doesn't contain video audio/3gpp if it doesn't contain video
3g2 video/3gpp2 .3g2 3GPP2 audio/video container
audio/3gpp2 if it doesn't contain video audio/3gpp2 if it doesn't contain video
7z application/x-7z-compressed .7z 7-zip archive
Name MIMEType Extension Description
aac audio/aac .aac AAC audio file
abw application/x-abiword .abw AbiWord document
arc application/octet-stream .arc Archive document (multiple files embedded)
avi video/x-msvideo .avi AVI: Audio Video Interleave
azw application/vnd.amazon.ebook .azw Amazon Kindle eBook format
bin application/octet-stream .bin Any kind of binary data
bz application/x-bzip .bz BZip archive
bz2 application/x-bzip2 .bz2 BZip2 archive
csh application/x-csh .csh C-Shell script
css text/css .css Cascading Style Sheets (CSS)
csv text/csv .csv Comma-separated values (CSV)
doc application/msword .doc Microsoft Word
epub application/epub+zip .epub Electronic publication (EPUB)
gif image/gif .gif Graphics Interchange Format (GIF)
htm .htm
html text/html .html HyperText Markup Language (HTML)
ico image/x-icon .ico Icon format
ics text/calendar .ics iCalendar format
jar application/java-archive .jar Java Archive (JAR)
jpeg .jpeg
jpg image/jpeg .jpg JPEG images
js application/javascript .js JavaScript (ECMAScript)
json application/json .json JSON format
mid .mid
midi audio/midi .midi Musical Instrument Digital Interface (MIDI)
mpeg video/mpeg .mpeg MPEG Video
mpkg application/vnd.apple.installer+xml .mpkg Apple Installer Package
odp application/vnd.oasis.opendocument.presentation .odp OpenDocuemnt presentation document
ods application/vnd.oasis.opendocument.spreadsheet .ods OpenDocuemnt spreadsheet document
odt application/vnd.oasis.opendocument.text .odt OpenDocument text document
oga audio/ogg .oga OGG audio
ogv video/ogg .ogv OGG video
ogx application/ogg .ogx OGG
pdf application/pdf .pdf Adobe Portable Document Format (PDF)
ppt application/vnd.ms-powerpoint .ppt Microsoft PowerPoint
rar application/x-rar-compressed .rar RAR archive
rtf application/rtf .rtf Rich Text Format (RTF)
sh application/x-sh .sh Bourne shell script
svg image/svg+xml .svg Scalable Vector Graphics (SVG)
swf application/x-shockwave-flash .swf Small web format (SWF) or Adobe Flash document
tar application/x-tar .tar Tape Archive (TAR)
tif .tif
tiff image/tiff .tiff Tagged Image File Format (TIFF)
ttf font/ttf .ttf TrueType Font
vsd application/vnd.visio .vsd Microsft Visio
wav audio/x-wav .wav Waveform Audio Format
weba audio/webm .weba WEBM audio
webm video/webm .webm WEBM video
webp image/webp .webp WEBP image
woff font/woff .woff Web Open Font Format (WOFF)
woff2 font/woff2 .woff2 Web Open Font Format (WOFF)
xhtml application/xhtml+xml .xhtml XHTML
xls application/vnd.ms-excel .xls Microsoft Excel
xml application/xml .xml XML
xul application/vnd.mozilla.xul+xml .xul XUL
zip application/zip .zip ZIP archive
3gp video/3gpp .3gp 3GPP audio/video container
audio/3gpp if it doesn't contain video audio/3gpp if it doesn't contain video
3g2 video/3gpp2 .3g2 3GPP2 audio/video container
audio/3gpp2 if it doesn't contain video audio/3gpp2 if it doesn't contain video
7z application/x-7z-compressed .7z 7-zip archive
@jcoyle37
Copy link

It appears *.TSV is not in the list. According to mimetype.io, text/tab-separated-values is the desired MIME type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment