Media Types

List of Media Types, Media Subtypes, and their extensions.

Report an issue
Downloads
1,946
Last updated
Data file
1
Size
317 kB
Format
csv
badge

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 maintained by IANA. The extension details are taken the website 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/

API access

Access dataset files directly from scripts, code, or AI agents.

Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.

  1. Fetch datapackage.json to inspect schema and resources
  2. Download data resources listed in datapackage.json
  3. Read README.md for full context
/core/media-types/4 files
  • .gitignorehttps://datahub.io/core/media-types/_r/-/.gitignore
  • README.mddocumentationhttps://datahub.io/core/media-types/_r/-/README.md
  • data/media-types.csvhttps://datahub.io/core/media-types/_r/-/data/media-types.csv
  • datapackage.jsonmetadata & schemahttps://datahub.io/core/media-types/_r/-/datapackage.json