DevTools Logo

MIDI Keyboard Tester

MIDI Keyboard Tester

See live notes, velocity, CC and pitch bend from a MIDI controller, record a clip, and export the monitor log. No traffic leaves the browser.

Runs in your browser

MIDI access & controller

no ports
Web MIDI is unavailable in this browser. Chrome/Edge desktop and Safari 17.4+ support it; Firefox needs a flag. Demo mode still works.

C2–C7 (MIDI 36–96) is shown. Sysex is not requested, and no MIDI data is sent to any server.

Live piano, controllers & monitor

0 messages · 0 active notes

Connect a controller or run demo traffic

Examples

New keyboard check

Input
Connect → play a scale
Output
Keys light up with velocity and channel

Confirms notes arrive before you blame a DAW or driver.

Diagnose a fader

Input
Move CC1 → filter CC → Export log
Output
Text log with hex and decoded values

A support thread can see exactly what the device sent.

Capture an idea

Input
Record clip → stop → midi-clip.mid
Output
DAW-readable clip

Hung notes are closed at stop and controller changes are preserved.

About this tool

The MIDI Keyboard Tester requests Web MIDI access on a click and shows live traffic from connected controllers: a 61-key on-screen piano from C2 to C7, velocity-aware active notes, sustain and other CC values, pitch bend in semitones, program changes and a hex/decoded message monitor.

Note-on with velocity zero is treated as note-off, matching the convention used by many controllers. Notes held longer than ten seconds are flagged as stuck, and Panic sends all-sound-off plus all-notes-off to the selected output while clearing local state.

The recorder captures notes and controller messages with millisecond timestamps and encodes them as a standard format-0 MIDI file with a 480 PPQ, 120 BPM tempo map. A text export of the message monitor is available for support threads. No Web MIDI hardware? Demo traffic exercises the same decoder without any device.

What this tool does not do

  • Web MIDI availability varies: Chrome and Edge desktop support it, Safari 17.4+ partially, Firefox needs a flag.
  • Sysex messages are not requested and therefore never displayed.
  • The built-in piano covers MIDI notes 36–96; notes outside that range are still in the monitor.
  • Clips are limited to five minutes and are not persisted after the tab closes.

How to use this tool

  1. Connect

    Press Connect MIDI controller and grant access. Pick one input or subscribe to all inputs; hot-plug changes refresh the port list.

  2. Play and watch

    Keys light up with incoming notes, and the panels show velocity, sustain, modulation, pitch bend and program changes.

  3. Debug traffic

    Filter the monitor by message type or channel, pause the scroll, and export the log as text when you need to share it.

  4. Record a clip

    Press Record clip, play for up to five minutes, then Stop recording to download a .mid file.

  5. Recover from stuck notes

    Press Panic to send CC120 and CC123 to the selected output and clear local notes immediately.

Use cases

Hardware setup

Verify that a new controller and its driver deliver notes and controllers.

Web MIDI debugging

Inspect raw messages while developing a MIDI-enabled web app.

Clip capture

Record a short performance as a standard MIDI file without a DAW.

Messages and exports

ItemHandling
Notes0x9n velocity >0 on; velocity 0 and 0x8n are note-off
ControllersNamed CC values with 7-bit bars; sustain (64) state chip
Pitch bend14-bit LSB/MSB mapped to ±2 semitones by default
MonitorTime, hex bytes and decoded description with type/channel filters
Clip exportFormat 0 SMF, 480 PPQ, 120 BPM, notes plus CC/bend events
Log exportPlain text with timestamp, hex and decoded description

Sysex is not requested, ports are polled only in this tab, and no MIDI data is sent over the network.

Frequently asked questions

Why doesn't my keyboard show up?

Web MIDI must be supported and permitted. Chrome and Edge desktop work out of the box, Safari 17.4+ has partial support, and Firefox requires a flag. After granting access, unplug and replug the device to trigger a statechange refresh; if permission was blocked in site settings, re-enable it and reload the page.

Which browsers support Web MIDI?

Chrome and Edge on desktop are the safest choices; Chrome on Android does not provide Web MIDI. Safari added support in 17.4. Firefox exposes it behind a preference. The tool shows an honest support banner and a demo mode when the API is missing.

Can I record and export?

Yes. Record clip captures notes with millisecond timestamps plus CC and pitch-bend messages for up to five minutes. Stop recording downloads a standard format-0 .mid file with a 120 BPM, 480 PPQ tempo map; hung notes are closed automatically.

What are CC messages?

Continuous controllers are 7-bit values sent on a MIDI channel, commonly modulation (CC1), volume (CC7), pan (CC10), expression (CC11) and sustain (CC64). The tester names common numbers, shows live bars and keeps CC traffic in the monitor and the exported clip.

How do I fix stuck notes?

Press Panic. If an output port is selected, the tool sends all-sound-off (CC120) and all-notes-off (CC123) on all channels; it also clears the local highlight and stops local synth voices. Notes held for more than ten seconds are flagged before you press it.

Can I try it without hardware?

Yes. Run demo traffic injects a synthetic note sequence, modulation, sustain and pitch bend through the same decoder used for real messages. The optional local tone lets you check the audio path too — no device or account required.