Learn Piano Game Play free
Home › Guides › Keyboards, MIDI and Bluetooth › How do you enable Web MIDI in Chrome and Edge?

How do you enable Web MIDI in Chrome and Edge?

You don't have to install anything: Web MIDI is built into Chrome and Edge, and it switches on when you click Allow on the "use your MIDI devices" prompt. If you blocked it by mistake, you can allow it again in the site settings next to the address bar.

Chrome and Edge both include Web MIDI, the feature that lets a website talk to a digital piano or MIDI keyboard. There is no setting to download and no hidden flag to change. The browser simply asks for your permission the first time a site wants to use your keyboard, and your answer is remembered for that site.

Most problems come down to three things: the prompt was dismissed or blocked, the keyboard was not connected properly, or another program is already using it. This guide covers all three.

What Web MIDI actually does

MIDI does not carry sound. It carries messages such as "key C4 pressed, fairly hard" and "key released". A website that supports Web MIDI reads those messages and decides what to do with them: play a sound, score your timing, or show the right note on screen.

Because a website could otherwise read from your devices without you knowing, Chrome and Edge ask first. Web MIDI also only works on secure pages (addresses that start with https), which is true for almost every site you would use for piano practice.

The quick way: allow MIDI when the site asks

  1. Plug in your keyboard (or pair it by Bluetooth) and switch it on before you open the page.
  2. Open the website in Chrome or Edge on your computer.
  3. When the site starts its MIDI or keyboard feature, a small box appears near the address bar asking to "use your MIDI devices".
  4. Click Allow.
  5. If the site shows a list of devices, choose your keyboard. If it does not respond, reload the page once.

The exact wording of the box can differ a little between browser versions, but the idea is the same. If you never see a box, it may have been blocked earlier, which is the next section.

If you clicked Block by mistake

A blocked site stays blocked until you change it. You can fix this in two ways.

From the page itself:

  1. Click the small icon on the left side of the address bar (a lock or a settings-style icon).
  2. Open the site settings or permissions list.
  3. Find MIDI devices and set it to Allow.
  4. Reload the page.

From the browser settings:

On that page, check that the main setting lets sites ask you, and look at the "Not allowed" list. If the site you want is in it, remove it or move it to the allowed list.

You may also see a separate choice about "system exclusive" messages. Most piano practice sites do not need it, so you can leave it alone unless a site specifically tells you otherwise.

Connect the keyboard properly

Web MIDI can only see a keyboard that your computer already sees.

To test it, open a page that uses MIDI and press a key. The free game Keyfall is an easy test: choose your keyboard as the input, start a song, and see whether the notes respond. Our walkthrough on using a MIDI keyboard with a piano game goes through it step by step.

Troubleshooting: when the keyboard still doesn't show up

ProblemLikely causeWhat to try
No prompt appearsPermission was blocked earlierAllow MIDI in the site settings, then reload
Prompt appeared but no keyboard listedKeyboard connected after the page loadedReload the page with the keyboard already on
Keyboard works in one app but not the browserAnother app is holding the deviceClose music software and other tabs that use MIDI
Nothing is detected at allCharge-only cable or wrong USB portTry another cable and another port
Bluetooth keeps droppingPairing or distance problemRe-pair the piano, or use USB

Two more tricks help surprisingly often. First, close the browser completely and reopen it with the keyboard already connected. Second, try a different USB port directly on the computer rather than a hub. Also check that your browser is up to date, because Web MIDI behavior has been adjusted in newer versions.

Other browsers and phones

Chrome and Edge are the safest choices for Web MIDI on a computer. Some other browsers handle it differently or not at all, so if your keyboard works nowhere else, switch to Chrome before spending time on settings.

On an iPhone or iPad, the usual browsers do not give websites Bluetooth MIDI access. For Keyfall, the free Bluefy browser is what you need for Bluetooth on those devices.

If Web MIDI still refuses to work, remember that you can practice without it. A computer keyboard, a touch screen or a microphone for an acoustic piano can all work with many piano tools, and you can come back to MIDI when you have time to troubleshoot.

More about keyboards, midi and bluetooth

61 keys or 88 keys: which should a beginner choose?What should you look for in headphones for a digital piano?What is the right keyboard stand and bench height for piano practice?Bluetooth MIDI vs USB MIDI: which should you use?Can you use Bluetooth headphones with a digital piano?Digital piano vs keyboard: which should a beginner buy?Do You Need a Driver for a USB MIDI Keyboard?Do you need a sustain pedal on a digital piano?

FAQ

Do I need to install anything to use Web MIDI in Chrome or Edge?

No. Web MIDI is built into both browsers. You only need to click Allow when the site asks to use your MIDI devices.

Why does Chrome keep asking me about MIDI devices?

Chrome asks each site separately and remembers your answer for that site. If the prompt keeps returning, check that your browser is not set to clear site permissions when you close it.

Is it safe to allow a site to use my MIDI devices?

Allowing it lets that one site read messages from your keyboard, such as which keys you press. Only allow sites you trust, and you can remove the permission any time in the MIDI devices settings.

Can I enable Web MIDI on a phone?

On Android, Chrome supports Web MIDI, usually with a USB adapter for wired keyboards. On iPhone and iPad you need a browser such as Bluefy for Bluetooth MIDI.

My keyboard works in GarageBand or other software but not in the browser. Why?

Some computers let only one program use a MIDI device at a time. Close the other music app, then reload the page in Chrome or Edge.

Does MIDI make the sound in the browser?

No. MIDI sends only messages such as which keys you press, not sound, so the sound comes from your piano's speakers, or from the website if it plays its own sounds. If you hear nothing, check the volume on both the keyboard and the computer.

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