Which browsers support Web MIDI for keyboards?
Chrome, Edge and Opera (all Chromium based) support Web MIDI on computers and Android, and Firefox supports it with a permission step. Safari does not, and on iPhone and iPad you need a special browser such as Bluefy.
If you plug a digital piano into your computer and want a website to hear it, the website needs a browser feature called Web MIDI. Not every browser has it, which is why a keyboard can work in one browser and look invisible in another. This page shows what is supported and what to do when yours is not.
What Web MIDI actually is
Web MIDI is a feature that lets a web page talk to MIDI devices, such as a digital piano or a small MIDI keyboard. The page can see which keys you press and how hard, and can react straight away. It works with keyboards connected by USB cable and, in some browsers, by Bluetooth.
Without it, a website cannot see your keyboard at all, even if the keyboard works perfectly in other apps. If you are new to the idea, what a MIDI piano keyboard is explains the basics.
Browser support at a glance
Browser support changes over time, so treat this as a general picture and check your own browser if something looks different.
| Browser | Computer | Android | iPhone and iPad |
|---|---|---|---|
| Chrome | Yes | Yes | No |
| Edge | Yes | Yes | No |
| Opera | Yes | Yes | No |
| Firefox | Yes, with a permission prompt | Can vary | No |
| Safari | No | Not available | No |
| Bluefy | Not available | Not available | Yes |
If you want one simple answer: Chrome is the safest choice on a computer or an Android phone or tablet.
Why iPhone and iPad are different
Apple requires every browser on iPhone and iPad to use its own browser engine. That means Chrome, Firefox and Edge on an iPhone behave like Safari, and Safari does not offer Web MIDI. Installing a different mainstream browser does not fix it.
The usual workaround is Bluefy, a free browser made for Bluetooth and MIDI features on iOS. If your keyboard has Bluetooth MIDI, open the website in Bluefy and allow access when it asks. For the full setup, see how to connect a keyboard to an iPad.
What you need besides the browser
A supported browser is only one piece. These things matter too:
- A secure page. Browsers normally allow Web MIDI only on pages that start with https, which most good sites use.
- Permission. The browser will ask whether the site may use your MIDI devices. Choose Allow. If you said No by accident, you can change it in the site settings next to the address bar.
- A keyboard that is switched on and connected before you open the page, or at least before you reload it.
- One app at a time. On some computers, only one program can use a USB MIDI keyboard at once. If a music program is open, close it and reload the page.
How to test your setup
- Use Chrome (or Bluefy on iPhone and iPad).
- Connect the keyboard with a USB cable, or pair it by Bluetooth if it supports that.
- Turn the keyboard on.
- Open the page that needs MIDI and allow access when asked.
- Press a key and see whether the page reacts.
If nothing happens, reload the page once with the keyboard already on. Many problems are just a timing issue.
Using a keyboard with Keyfall
Keyfall, the free piano game at learnpianogame.com, works with a digital piano over USB MIDI or Bluetooth MIDI, and it runs best in Chrome. If you cannot get MIDI working, you can still play with the microphone, the computer keyboard or the touch screen while you sort it out.
If your keyboard still does not appear
First check the simple things: a different USB cable (some cables only charge and carry no data), a different USB port, and restarting the keyboard. Then try Chrome if you are using something else. Our guide on why a MIDI keyboard is not working goes through the common causes step by step.
It also helps to know that a keyboard with only a headphone jack and no USB or MIDI socket cannot send notes to a browser. Look for a port labeled USB to Host, USB MIDI or Bluetooth in the manual. Different brands label this differently.
More about keyboards, midi and bluetooth
FAQ
Does Safari support Web MIDI?
As far as we know, Safari does not support Web MIDI on Mac, iPhone or iPad. Use Chrome on a Mac, and Bluefy on iPhone and iPad.
Does Firefox work with MIDI keyboards?
Firefox has supported Web MIDI on computers for a while, and it asks for permission before a site can use your keyboard. Chrome is still the most reliable choice if you run into trouble.
Can I use Bluetooth MIDI in a browser?
Yes, in browsers that support Web MIDI and Bluetooth, such as Chrome on many computers and Android devices. On iPhone and iPad, use Bluefy.
Why does my keyboard work in other apps but not in my browser?
The browser may be one without Web MIDI, you may have blocked permission, or another program may be using the keyboard. Check the browser first, then the permission, then close other music apps.
Do I need to install a driver?
Most modern digital pianos and MIDI keyboards work without one when connected by USB. Check your keyboard's manual if yours is not detected.
Can I play without MIDI if my browser does not support it?
Yes, in Keyfall you can use the microphone, the computer keyboard or the touch screen instead. A real keyboard is nicer for learning, but these options let you start right away.
Practise it on your own piano. Keyfall is a free piano game: notes fall toward the keys and you play them on a digital piano, keyboard, phone or computer.
Play free