MIDI File Signature & Magic Bytes (.mid)
Standard MIDI Files (SMF) store musical performance instructions—notes, velocities, tempo changes, pitch bends and controller automation—rather than recorded audio waveforms. Every SMF begins with the 4-byte ASCII header chunk identifier MThd (4D 54 68 64).
Signature & identification summary
| Detected format name | MIDI audio |
|---|---|
| Hexadecimal magic bytes | 4D 54 68 64 |
| ASCII / marker preview | MThd |
| Byte offset | 0 |
| MIME type | audio/midi |
| Common extensions & aliases | .midi, .mid |
Check whether your file really is MIDI.
Drop any file into File Sniff’s free local browser checker to verify its 4D 54 68 64 signature and spot misleading extensions—without uploading a single byte.
Container & byte-layout notes
The MThd chunk has a fixed 6-byte body (00 00 00 06) specifying format type (0 single-track, 1 synchronous multi-track, or 2 asynchronous), track count and timing division, followed by one or more MTrk track chunks.
Extension mismatches & common pitfalls
Because MIDI contains no audio samples, double-clicking a .mid file on macOS without a DAW or soundfont player installed may ask which app to use rather than playing immediately in QuickTime.
Which apps open MIDI files?
| Platform | Compatible applications & tools |
|---|---|
| Mac (macOS) | GarageBand, Logic Pro, MuseScore, VLC (with FluidSynth soundfont) |
| iPhone & iPad | GarageBand, Cubasis |
| Windows | Windows Media Player Legacy, MuseScore, Reaper, Ableton Live |
Free local tools & related guides
- Check whether a file really is MIDI
- Inspect raw bytes in the Hex Viewer
- Guide: File Signatures & Magic Bytes Guide
Inspect files & folders natively
on Mac, iPhone & iPad.
The native File Sniff app scans entire folders, spots extension mismatches, repairs extensions with Undo on Mac, and exports CSV or JSON reports locally.