Handytool
สำหรับนักพัฒนาฟรีทำงานในเครื่อง

MIME type lookup

ค้นหา MIME type โดยไฟล์ extension หรือค้นหาด้วย content type — cover image, video, audio, document และ font

Group
  • image/png

    Portable Network Graphics — lossless raster, transparent.

    ext.png
  • image/jpeg

    JPEG — lossy raster image, no transparency.

    ext.jpg .jpeg
  • image/webp

    Modern web image format with both lossy and lossless modes.

    ext.webp
  • image/avif

    AV1 still image — small files, wide gamut.

    ext.avif
  • image/gif

    Animated raster image, indexed palette.

    ext.gif
  • image/svg+xml

    Scalable Vector Graphics — XML-based vector format.

    ext.svg
  • image/heic

    Apple HEIF still image, HEVC-compressed.

    ext.heic
  • image/heif

    High Efficiency Image Format container.

    ext.heif
  • image/bmp

    Windows Bitmap — uncompressed raster.

    ext.bmp
  • image/tiff

    Tagged Image File Format, common in print.

    ext.tif .tiff
  • image/x-icon

    Windows / favicon icon container.

    ext.ico
  • video/mp4

    MPEG-4 Part 14 — most common video container.

    ext.mp4 .m4v
  • video/webm

    WebM container, typically VP8/VP9/AV1 + Vorbis/Opus.

    ext.webm
  • video/quicktime

    Apple QuickTime container.

    ext.mov .qt
  • video/x-matroska

    Matroska multimedia container.

    ext.mkv
  • video/x-msvideo

    Audio Video Interleave (legacy Microsoft container).

    ext.avi
  • audio/mpeg

    MPEG-1 Audio Layer III — most common lossy audio.

    ext.mp3
  • audio/wav

    Waveform Audio File Format — uncompressed PCM.

    ext.wav
  • audio/ogg

    Ogg container, typically Vorbis or Opus audio.

    ext.ogg .oga
  • audio/mp4

    MPEG-4 audio container, AAC by default.

    ext.m4a
  • audio/flac

    Free Lossless Audio Codec.

    ext.flac
  • audio/webm

    WebM audio (Opus or Vorbis).

    ext.weba
  • text/html

    HyperText Markup Language.

    ext.html .htm
  • text/css

    Cascading Style Sheets.

    ext.css
  • text/plain

    Plain text, no formatting.

    ext.txt
  • text/csv

    Comma-separated values.

    ext.csv
  • text/markdown

    Markdown plain-text formatting.

    ext.md .markdown
  • text/xml

    Extensible Markup Language (text variant).

    ext.xml
  • application/json

    JavaScript Object Notation.

    ext.json
  • application/pdf

    Portable Document Format.

    ext.pdf
  • application/zip

    ZIP archive.

    ext.zip
  • application/gzip

    Gzip-compressed file.

    ext.gz
  • application/x-tar

    Tape archive (uncompressed).

    ext.tar
  • application/x-7z-compressed

    7-Zip compressed archive.

    ext.7z
  • application/x-rar-compressed

    RAR compressed archive.

    ext.rar
  • application/javascript

    JavaScript source.

    ext.js .mjs
  • application/wasm

    WebAssembly binary module.

    ext.wasm
  • application/xml

    Extensible Markup Language (application variant).

    ext.xml
  • application/yaml

    YAML Ain't Markup Language.

    ext.yaml .yml
  • application/sql

    Structured Query Language script.

    ext.sql
  • application/vnd.openxmlformats-officedocument.wordprocessingml.document

    Microsoft Word (Office Open XML).

    ext.docx
  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

    Microsoft Excel (Office Open XML).

    ext.xlsx
  • application/vnd.openxmlformats-officedocument.presentationml.presentation

    Microsoft PowerPoint (Office Open XML).

    ext.pptx
  • application/msword

    Legacy Microsoft Word document.

    ext.doc
  • application/epub+zip

    EPUB e-book.

    ext.epub
  • application/x-fictionbook+xml

    FictionBook 2.x e-book.

    ext.fb2
  • application/octet-stream

    Arbitrary binary data — no specific format.

    ext.bin
  • font/woff

    Web Open Font Format 1.0.

    ext.woff
  • font/woff2

    Web Open Font Format 2.0 (better compression).

    ext.woff2
  • font/ttf

    TrueType font.

    ext.ttf
  • font/otf

    OpenType font.

    ext.otf

เกี่ยวกับ MIME type lookup

MIME type lookup ของ Handytool ช่วยให้คุณหา right Content-Type header สำหรับ file ใดๆ — ไม่ว่าคุณจะ configure web server, build API หรือ filter upload form ค้นหาด้วย extension (.png, .pdf, .epub) หรือด้วย media type (image/png, application/pdf) และ filter โดย group Entry แต่ละอันรวม canonical IANA-registered MIME type, file extension ที่ commonly ใช้มัน และ one-line description

คุณสมบัติของ MIME type lookup

  • 01

    ค้นหาด้วย extension หรือ MIME

    พิมพ์ .webp หรือ webp เพื่อหา image/webp; พิมพ์ pdf หรือ application/pdf เพื่อหา document type; พิมพ์ "font" เพื่อดู font media type ทั้งหมด

  • 02

    Group filter

    Narrow result ไปยัง image, video, audio, text, application หรือ font เมื่อคุณ care เฉพาะเกี่ยวกับ family file เป็นต้น

  • 03

    Real-world coverage

    รวม format ที่ developer จริงๆ deal — Office Open XML (docx, xlsx), modern image format (avif, heic) และ lesser-known อย่าง FB2, EPUB และ WebAssembly

คำถามที่พบบ่อยของ MIME type lookup

ทำไม extension บางส่วนจึง mapped ไปยัง MIME type หลายตัว?
Single extension สามารถใช้โดย legitimate type หลายตัว — ตัวอย่างเช่น .xml คือ text/xml และ application/xml ใช้ whichever ที่ match วิธีที่ tooling ของคุณ expect ที่จะ consume file
ความแตกต่างระหว่าง application/octet-stream และ specific type คืออะไร?
application/octet-stream คือ fallback สำหรับ arbitrary binary data เมื่อ no specific type known browser usually prompt ดาวน์โหลด response เช่นนี้ ใช้ specific type เมื่อใดก็ตาม — มันเปิดใช้งาน in-browser preview และ correct handling
Heic จริงๆ image/heic หรือ image/heif?
ทั้งคู่มีอยู่ — image/heic หมายถึง HEIF file โดยใช้ HEVC codec (most common case บน iPhone) ขณะที่ image/heif คือ more general container type most server ใช้ image/heic สำหรับ .heic upload
Font/woff และ application/font-woff เป็นอันเดียวกันหรือไม่?
font/woff คือ modern, IANA-registered type older application/font-woff ยัง seen ใน legacy config แต่ควร migrate

เครื่องมือที่เกี่ยวข้อง

สำหรับนักพัฒนา

สำรวจเครื่องมืออื่น ๆ

เครื่องมือทั้งหมด