A list of ALL MimeTypes on the planet associated with file extensions?

Is there a resource that lists ALL existing mimeTypes?

I found several places with less than 1000 mimeTypes, but then they still do not include common ones, such as .rar, .fla, .rb, .docx!

Does anyone have a complete list of mimetypes types? Not to the most obsessed “companies,” but at least all the ones we can use.

Also, I am looking for a list that displays file extensions in mimeTypes.

+50
mime-types file-extension
Nov 14 '09 at 21:23
source share
11 answers

http://www.iana.org/assignments/media-types/ lists the "official" mime types, but this does not stop anyone from making their own without registering with IANA.

+46
Nov 14 '09 at 21:27
source share

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

+33
Nov 15 '09 at 16:24
source share

IANA lists official. A list that includes file extensions that I find useful is one that has been included as /etc/mime.types in Debian and Ubuntu.

The Apache web server project also maintains a list.

+6
Nov 14 '09 at 21:29
source share

iana tracks official, but of course people can always declare their own ...

In other words, you are unlikely to ever get a complete list on the planet .

Also consider an example of NPAPI plugins that declare MIME types, just to be easily accessible ... and you may not be interested in these MIME types for one reason or another.

+5
Nov 14 '09 at 21:27
source share

I have compiled MIME types and file extensions from many sites and lists, and here is the result: https://s-randomfiles.s3.amazonaws.com/mime/allMimeTypes.txt

I also created a JSON file: https://s-randomfiles.s3.amazonaws.com/mime/allMimeTypes.json

Please tell me if something is missing or incorrect

+4
Feb 24 '15 at 13:59 on
source share

If you use Java, you can use Apache Tika, which is a powerful library for working with file types. With it, you can easily get the preferred extension associated with the mime type, with several lines:

 TikaConfig config = TikaConfig.getDefaultConfig(); MimeType mimeType = config.getMimeRepository().forName("image/png"); //Generally your textual mime type String extension = mimeType.getExtension(); // this would return the extension with the dot. For "image/png" returns ".png" 

Thus, you do not need to bother downloading and analyzing the file using associations, I find it very convenient. So I did the trick.

+3
Dec 05
source share

There is a good table in the classic book "HTTP: The Ultimate Guide" by Gurley and Toti (O'Reilly, with a squirrel on the cover) in Appendix D. It seems to be complete and relevant, like the time the book was written (in 2002 ) It was a long time ago, but you will find here all the old favorites, as well as the obscure "only companies".

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

+1
Nov 23 '09 at 14:29
source share

There is a good Mime type table that you can find at https://drive.google.com/open?id=0By00BwrZ8886VUg3ak9faG5mTU0 What is updated 27-02-2017. I am sure that you will meet your desired team.

+1
Sep 20 2018-11-12T00:
source share

Here is a complete list that is easy on the eyes:

http://www.webmaster-toolkit.com/mime-types.shtml

0
Feb 01 '12 at 17:21
source share

There are several more sites on this list, such as '.docx' http://www.freeformatter.com/mime-types-list.html#mime-types-list

0
Oct. 15 '13 at 6:36 on
source share

My list (about 680 types) of mimetype in xml is here

-one
Jul 14 '17 at 2:46 on
source share



All Articles