views:

581

answers:

5

Is there a resource that lists ALL the mimeTypes in existence?

I have found a few places with under 1000 mimeTypes, but then they still don't include common ones like .rar, .fla, .rb, .docx!

Does anyone have a COMPLETE list of mimetypes? Not down to the most obsure "company-only" ones, but at least all of the ones we might use.

Also, I'm looking for a list that maps file extensions to mimeTypes.

+3  A: 

iana is tracking the official ones but of course folks can always declare their own...

In other words, it is doubtful you'll ever get the full list on the Planet.

Also consider the case of NPAPI plugins which declare MIME-types just to be be easily accessible... and these MIME-types might be not interesting to you for a reason or another.

jldupont
+6  A: 

http://www.iana.org/assignments/media-types/ lists the "official" mime-types, but it doesn't prevent anyone making their own an not registering it with IANA.

adrianbanks
is there anything that maps them to file extensions? it doesn't look like iana does...
viatropos
Whilst you can find lists of file extensions mapped to mime-types (ie. http://reference.sitepoint.com/html/mime-types-full), most lists are not comprehensive. Additionally, a file extension may map to multiple mime-types as it may be used by more than one application. http://filext.com/ is a site you might find useful.
adrianbanks
There is a pretty good list on http://stdicon.com : http://www.stdicon.com/mimetypes
Paul Tarjan
+3  A: 

IANA lists the official ones. A list which includes file extensions which I find useful is the one included as /etc/mime.types in Debian & Ubuntu.

The Apache web server project also maintains a list.

Teddy
mime.types is also available on some other systems (/etc/apache2/mime.types in OS X)
cobbal
+4  A: 

Here's the most up-to-date mime.types maintained by the Apache HTTPD community: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/conf/mime.types?view=annotate

Davanum Srinivas - dims
Latest version: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=markup
Teddy
+1  A: 

There's a good table in the classic book "HTTP: The Definitive Guide" by Gourley and Totty (O'Reilly, with a squirrel on the cover) in Appendix D. It appears to be complete and up-to-date as of the time the book was written (in 2002). That was a long time ago, but you'll find all the old favorites there as well as obscure "company-only" ones.

ISBN 1-56592-509-2, http://oreilly.com/catalog/9781565925090/

Mark Lutton
thanks a lot man!
viatropos