https://github.com/datasets/media-types
List of MIME types, subtypes, and file name extensions.
https://github.com/datasets/media-types
Last synced: 12 months ago
JSON representation
List of MIME types, subtypes, and file name extensions.
- Host: GitHub
- URL: https://github.com/datasets/media-types
- Owner: datasets
- Created: 2015-02-25T21:07:00.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2025-06-22T01:05:49.000Z (about 1 year ago)
- Last Synced: 2025-06-22T02:23:35.089Z (about 1 year ago)
- Language: Python
- Homepage: https://datahub.io/core/media-types
- Size: 178 KB
- Stars: 33
- Watchers: 15
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This dataset lists all the Media Types (MIME types), Media Subtypes, and their file extensions.
## Data
The details of the Media Types and Media Subtypes are taken from the [official registry of Media Types](http://www.iana.org/assignments/media-types/media-types.xhtml) maintained by IANA. The extension details are taken [the website](https://github.com/apache/httpd/blob/trunk/docs/conf/mime.types) of the Apache Software Foundation .
## Preparation
The `media-types.csv` is processed using `scripts/process.py` script.
```
pip install -r scripts/requirements.txt
python scripts/process.py
```
## Automation
Up-to-date (auto-updates on weekly basis) media-types dataset could be found on the datahub.io:
https://datahub.io/core/media-types
## License
These data are made available under the Public Domain Dedication and License v1.0 whose full text can be found at: http://www.opendatacommons.org/licenses/pddl/1.0/