MIME types: Complete list of MIME types
Here is a list of MIME types, associated by type of documents, ordered by their common extensions.
Two primary MIME types are important for the role of default types:
- text/plain is the default value for textual files. A textual file should be human-readable and must not contain binary data.
- application/octet-stream is the default value for all other cases. An unknown file type should use this type. Browsers pay a particular care when manipulating these files, attempting to safeguard the user to prevent dangerous behaviors.
IANA is the official registry of MIME media types and maintains a list of all the official MIME types. This table lists some important MIME types for the Web:
text/javascript , per the following specifications:
- https://html.spec.whatwg.org/multipage/#scriptingLanguages
- https://html.spec.whatwg.org/multipage/#dependencies:willful-violation
- https://datatracker.ietf.org/doc/draft-ietf-dispatch-javascript-mjs/