MIDIPLAYER ONLINE
← Back to Online MIDI Player

MIDI Viewer & Track Inspector

Inspect what is inside any .mid or .midi file locally in your browser: drop a file anywhere on this page to read its piano roll alongside a full track inspector report — SMF format, track list, ticks per beat, tempo map, note count, pitch range, and General MIDI instruments. For tempo slowdown and A/B practice looping, use the Online MIDI Player.

or drag a .mid / .midi file onto this box

0:00
◇ Parsing, drawing and playback all happen on this device

File report

How to View a MIDI File

  1. Get the file onto the device you are using. The viewer can only read a file the browser can reach, so a .mid that arrived in an email has to be saved to disk (or to the Files app on iPhone and iPad) first.
  2. Open it here. Drag it onto the dark box above — anywhere on the page works — or press Choose MIDI file and pick it from the system dialog. On Android use Downloads/Files; on iOS use the Files app.
  3. Read the piano roll. The file is parsed in a few milliseconds and every note with a note-on and a matching note-off is drawn as a bar. The roll is scaled to the pitches the file actually uses, so a two-octave piano piece fills the box instead of hiding in a strip.
  4. Check the report. Under the roll, the file report lists the header values and what they mean in seconds, and one row per track carrying notes: its colour, its name if the author stored one, its General MIDI instrument, its note count and its pitch range.
  5. Press play to confirm what you are seeing. The orange line is the playhead; the slider seeks. Playback is a plain synthesised tone, described below, so use it to check timing rather than to audition a performance.

Nothing is uploaded, so a slow connection only affects the initial page load. Once the page is open the file is read, drawn and reported in one pass: measured on a throttled phone emulator, a full song appears in a few milliseconds, and an 8000-note file still finishes inside one frame. There is no spinner and no progress bar, because there is no round trip to wait on.

What Each Line in the Report Means

FieldWhere it comes from, and why it matters
FormatThe Standard MIDI File type in the header: type 0 puts the whole song in one track, type 1 splits it into simultaneous tracks (the usual export from a DAW or MuseScore), type 2 holds separate sequential patterns. A type 1 file with four rows in the track list is a four-part arrangement.
TracksHow many tracks the header declares versus how many actually carry notes. A file showing "6 declared · 3 with notes" has empty or marker-only tracks, which is normal: the first track of many arrangements is a tempo/meta track with no notes in it.
ResolutionTicks per beat — the clock the file is written on. 480 is the modern default; older shareware files use 96 or 192. Two files at 96 and 480 ticks per beat hold the same music; only their grid is finer.
TempoThe first set-tempo message (0x51) converted to BPM, plus a count of later tempo changes. A file with no tempo event at all is shown at 120 BPM, the MIDI default, which is why some downloaded arrangements look twice as fast as intended. A file written in SMPTE timecode has no tempo map at all, so the line reads "timecode, no tempo map" and the frame rate appears under Resolution instead.
Time signatureThe first 0x58 message, e.g. 3/4. If the report says "not stored", the author never wrote one — you can still count beats from the roll.
Key signatureThe first 0x59 message as sharps or flats and major or minor. It is what the composer typed into the notation program, so it tells you the piece's key even when the melody wanders.
LengthThe real end of the last note after the tempo map is applied — the duration you will hear when you press play, and the duration the roll is drawn across.
Notes / Pitch rangeThe count of note events that were closed by a note-off, and the lowest and highest pitches as scientific note names (C4 = middle C). Range tells you whether a piece is playable on a given keyboard: anything inside A0–C8 fits an 88-key piano.

Reading the Piano Roll

  • Vertical position is pitch. The note names at the bottom and top of the box are the window this file is drawn in, so the scale is per-file, not fixed.
  • Horizontal position is time in seconds, labelled at five points along the bottom. Seconds rather than bars because tempo is applied from the file's own tempo map.
  • Bar length is how long the note was held — the gap between its note-on and its note-off. That is what separates a staccato passage from a chord held for four beats, and it is why two files of the same song can look completely different.
  • Colour is the track, matched by the same swatch in the report row. Notes from one track always share a colour, so you can see a melody line move underneath an accompaniment.
  • Brightness is relative duration: longer notes are drawn more solidly, so a pedal point stands out from a run of 16ths at a glance.

What You Hear When You Press Play

MIDI files contain instructions, not sound. To make audio, this viewer schedules one triangle-wave oscillator per note inside the Web Audio API at the pitch and length the file specifies. That is enough to judge timing, phrasing and whether the right hand or the left hand carries the melody — but it is deliberately not a sound bank. A piano track, a strings track and a synth lead all play with the same plain tone, every note is the same loudness because velocity is read but not applied, and two notes at the same pitch overlap and get louder. If you want the file to sound like the instruments it names, render it to audio instead: the MIDI to MP3 converter on this site does the same synthesis and writes an MP3 you can keep.

Format Limits

  • Accepted: Standard MIDI Files, type 0, 1 and 2, with a .mid or .midi extension — the format every sequencer, notation program and ringtone editor exports. Both metrical (ticks per beat) and SMPTE timecode (frames per second × ticks per frame) divisions are converted to seconds.
  • Size: up to 50 MB. The cap is there because parsing and drawing happen on the main thread — a file that big is usually a multi-hour live session or a corrupted export, and rendering it would hold up the page. Ordinary songs are 5–200 KB and render in a few milliseconds.
  • Ignored on purpose: SysEx dumps, lyric and cue text events, MIDI control changes, pitch bends and aftertouch. Only note messages, program changes, track names and the tempo/time/key signature meta events feed the roll and the report.
  • Not supported: .zip and other archives (unzip them and open the .mid inside), RIFF-wrapped .rmi files, which start with RIFF instead of MThd, and anything whose download stopped early. .kar karaoke files do open — they are Standard MIDI Files — but their lyric and cue events are skipped, as are all text events.
  • One known quirk: some files converted from other formats are written with note-ons but no matching note-offs. Those notes are drawn to the end of their own track, so a suspiciously long bar means the source file is incomplete, not that the note is held.

Common Errors

The status line under the roll tells you what went wrong in one sentence. The five messages it can show, and what to do about each:

MessageCause and fix
"… is not a MIDI file"The extension is wrong — often a renamed download or a file that is really an MP3. Check the size: a MIDI of a full song is rarely above a few hundred KB. Rename it to .mid only if you are sure it is one.
"no MThd header — this is not a standard MIDI file"The first four bytes are not MThd. Either the file is a different format with a .mid name, or the download stopped early. Re-download it; a truncated file has no fix.
"no MTrk chunks found — the file is truncated"A header with no track data behind it. Same cause: an interrupted download or a 0-byte file from a failed export.
"contains no notes"The file parsed but holds no note-ons — a drums-only SysEx file, a backing track whose notes were stripped, or an empty template. Try one exported from the source program again.
"Could not read this file from disk"The browser lost access before the read finished, usually a file on a disconnected network drive or a phone file provider that went to sleep. Copy it somewhere local and open it again.

If a file opens but looks wrong, that is usually the file rather than the viewer: two exports of the same song can differ in ticks per beat, in whether a tempo event was written, and in how note-offs were placed. Compare the report against the original program's own display and the difference will normally be one of those three.

MIDI Viewer, Player, Editor: Which One You Want

  • This page answers "what is inside this file". Piano roll plus report, no editing.
  • The online MIDI player on the homepage answers "can I practise with it": the same roll plus tempo from 50% to 150%, A/B loop points, and per-track mute.
  • The MIDI editor answers "can I change it" — notes, tracks and export back to .mid.
  • MP3 to MIDI goes the other way, from audio to note data, and View MIDI Files walks through the same report field by field if you want the terminology explained.

Frequently asked questions

How do I view a MIDI file in my browser?

Drag a .mid or .midi file onto this page, or press "Choose MIDI file" and pick it. The file is read by JavaScript in your browser: the piano roll draws every note, and the report under it lists format, tracks, ticks per beat, tempo, note count and pitch range. No copy is sent to a server.

Can I open a MIDI file on a phone?

Yes. On Android press "Choose MIDI file" and select the file from Downloads or Files. On iPhone do the same and choose from the Files app; a .mid saved in Files, iCloud Drive or On My iPhone all work. Files emailed to you must be saved to the Files app first, because the browser cannot read them from the mail attachment.

Why does the playback not sound like the real instruments?

A MIDI file stores note messages, not audio. This viewer plays them through one small synthesiser — a triangle wave per note — so a piano and a strings track sound the same. The report still tells you which instrument each track is assigned to, and pressing play is meant to confirm timing and note lengths, not to reproduce a performance.

Which MIDI files will not open?

The viewer reads Standard MIDI Files (type 0, 1 and 2) with a .mid or .midi extension, up to 50 MB. It will not open a zipped archive, a RIFF .rmi wrapper, or a file whose download was cut short. A .kar karaoke file does open, because karaoke files are Standard MIDI Files with extra text events, but the lyrics themselves are ignored. If note-off messages were stripped when a file was converted, those notes render to the end of their track instead of their real length.

Does this MIDI viewer work on Mac, Windows, Linux and ChromeOS?

Yes. It runs in Chrome, Firefox, Safari and Edge on any device, because parsing, drawing and playback all happen locally in the browser.