Skip to content
cosmodev ~/tools/mime-types

MIME-tyyppien viite

Data & DevOps

Hakukelpoinen kytkös yleisten tiedostopäätteiden ja niiden MIME-tyyppien välillä – text, image, audio, video, application, font ja multipart. Hae päätteellä tai tyypillä, suodata luokan mukaan ja kopioi tarkka Content-Type-merkkijono mille tahansa muodolle.

71 / 71

(Dokumentaatio englanniksi)

What it does

The MIME Type Reference is a searchable map of common file extensions to their standard MIME (Content-Type) strings, grouped by the seven top-level media types - text, image, audio, video, application, font, and multipart. Look a format up by its extension or by its MIME type, filter the table by category, and copy the exact Content-Type for any format. It is a quick-lookup table, not a guesser: every mapping is a hand-curated, standards-aligned value.

How to use it

  1. Search by extension (e.g. png), MIME type (e.g. image/jpeg), or format name (e.g. spreadsheet).
  2. Use the category switch to narrow the table to one top-level type (text, image, …).
  3. Click a format to read its full name and Content-Type.
  4. Hit Copy type to grab the exact Content-Type string for headers, configs, or accept lists.

Examples

PNG lookup

.png → image/png - the canonical Content-Type for PNG images.

JavaScript ambiguity

.js → two entries: text/javascript (modern, WHATWG) and application/javascript (legacy) - the same extension legitimately maps to more than one type.

Reverse lookup

image/jpeg → both .jpg and .jpeg - one MIME type can cover several extensions.

Good to know

  • Everything runs in your browser. No file is uploaded; the tool is a static reference table. Nothing leaves your machine.
  • Curated, not inferred. A file’s true type is determined by its bytes, not its name - servers sniff content or trust an uploaded Content-Type. Treat this table as the conventional, standards-aligned default, and verify untrusted uploads server-side.
  • type matches the MIME. Each entry’s category is the first segment of its own Content-Type (svg is image/svg+xml, so it sits under image, not text).
  • Related tools: HTTP Methods Reference, HTTP Status Codes, JSON Formatter.
Lähdekoodi14 kieltä

100% client-side · datasi ei koskaan lähde selaimestasi. Oliko tästä hyötyä? Jaa se joukkuetoverillesi.