MIDI Piano Online
Plug in a MIDI keyboard and play it straight in your browser. No drivers, no install, no account — the page talks to your keyboard directly and makes the sound locally.
If you do not have a MIDI keyboard connected, everything on this page still works from your computer keyboard or by clicking the keys.
Connecting your keyboard
- Connect the keyboard to your computer over USB, or pair it over Bluetooth if it supports that.
- Open this page in Chrome, Edge or Opera. These are the browsers that implement the Web MIDI API.
- Allow the MIDI permission prompt when it appears. The browser asks because MIDI access can identify your hardware.
- Play a key. It should light up on the piano below and sound immediately.
Browser support
| Browser | Desktop | Mobile |
|---|---|---|
| Chrome | Yes | Yes (Android) |
| Edge | Yes | Yes (Android) |
| Opera | Yes | Yes (Android) |
| Firefox | Behind a flag | No |
| Safari | No | No (iPhone, iPad) |
Safari has never shipped the Web MIDI API, and browsers on iOS are required to use Safari’s engine, so a MIDI keyboard cannot be reached from an iPhone or iPad in any browser.
Common questions
Do I need to install a driver?
No. Class-compliant USB MIDI keyboards — which is almost all of them — are recognised by the operating system on their own, and the browser talks to them directly through the Web MIDI API. There is nothing to download.
Why does my browser ask for permission?
Web MIDI can identify the specific hardware attached to your computer, so browsers treat it as a permission the way they treat a microphone. Allow it once and the keyboard connects immediately on later visits.
Does it work on iPhone or iPad?
Not at the moment. Safari does not implement the Web MIDI API, and every browser on iOS is required to use Safari’s engine, so no iOS browser can connect to a MIDI keyboard. You can still play the on-screen keys by touch.
My keyboard is plugged in but nothing happens.
Close any other software that might be holding the device — a DAW, a synth app or another browser tab will claim the port exclusively on Windows. Then unplug the keyboard, reload this page, and plug it back in.
Is there any latency?
A few milliseconds, and in practice it is not noticeable. The audio is generated in the browser with the Web Audio API rather than streamed, so nothing depends on your connection speed once the page has loaded.
Can I use a Bluetooth MIDI keyboard?
Yes, on Chrome and Edge. Pair the keyboard with your operating system first, and it will then appear here like any wired device. Bluetooth adds a little more latency than USB.