.MIDI File Format & Magic-Byte Reference
Inspect .midi files locally in your browser. MIME type: audio/midi. Magic bytes: 4D 54 68 64 (MThd).
Runs locally in browser
Free · No login
Independently Verified 2026-11-24
v1.0.0
| Extension | .midi | MIME Type | audio/midi |
|---|---|---|---|
| Magic Bytes (Hex) | 4D 54 68 64 (MThd) | Category | Audio Sequence |
| Max Browser Inspection Size | 50 MB | Privacy | Files never leave your device |
Drop any file here or click to select
100% browser-side inspection (max 50 MB). Verifiable zero network upload.
Inspection Report
Select a file above to inspect magic bytes, SHA-256 checksum, text encoding, and container headers locally.
Hex & ASCII Preview (First 256 Bytes)
No file loaded.
Technical Explanation
Musical Instrument Digital Interface event sequence file. The standard MIME type for .midi files is audio/midi, and its binary signature or header pattern is 4D 54 68 64 (MThd). Use the local browser inspector above to verify whether any file actually conforms to the .midi specification regardless of its filename extension.
Worked Examples
- Drop a .midi file above to check whether its leading bytes match 4D 54 68 64 (MThd) and compute its SHA-256 digest.
- Verify server Content-Type headers match audio/midi when serving .midi assets over HTTP.
Limitations & Assumptions
- File extensions can be renamed arbitrarily; always verify magic bytes and container headers for security-sensitive uploads.
- Browser inspection is limited to 50 MB per file and runs entirely client-side.
Source References & Verification
Resource ID: file-fmt-midi · Independently verified: 2026-11-24