
Web Scripts & Software
DEV3 Virtual Piano Keyboard — Source Code (React + Tailwind)
from $20$29
Loading…
Everyday tool
Free, no sign-up. Runs in your browser; nothing is uploaded. Buy the source code: $29 Regular / $69 Extended
Scroll sideways (or use the octave arrows) for more keys. Play with the mouse (click lower on a key for a louder note), touch (multi-touch), your computer keyboard or a MIDI keyboard. The base octave follows the Octave buttons.
Press Record, play, then Stop. The take stays in your browser; nothing is uploaded. Try it: press Record and tap a few keys.
Need Virtual Piano Keyboard as a full mobile or web app? We build it in about a week. Built in about a week, from $99. Send your requirements or SOW; you get a fixed quote and a delivery date.
The virtual piano keyboard stays free to use online. If you want the code to run, edit and ship in your own project, get the full source from the DEV3 Marketplace. Instant download, 6 months of support.
Get the full app behind this tool. Buy once, own the source, and try each one live first.

Web Scripts & Software
from $20$29

Web Scripts & Software Mobile app
from $69$99

Enterprise SaaS Starters
from $69$99

Enterprise SaaS Starters
from $69$99

Web Scripts & Software
from $69$99

Web Scripts & Software Mobile app
from $69$99

Web Scripts & Software Mobile app
from $69$99

Web Scripts & Software Mobile app
from $69$99
This virtual piano gives you a full keyboard with realistic layout, instant sound and tools you normally only find in desktop software. There is nothing to install and no account.
Click or touch the keys, press the computer keys printed on them, or plug in a USB MIDI keyboard. Clicking near the bottom of a key plays it louder, just as pressing a real key harder does. Space is the sustain pedal: notes keep ringing after you let go until you release it. Switch between the 61-key and 88-key layouts, and change the sound between a piano-like tone, electric piano, organ and synth lead.
Hold two or more keys and the chord is named for you, including inversions and slash chords such as C/E. Notes can be labelled as letters (C D E), solfege (Do Re Mi) or Indian sargam (Sa Re Ga), which makes the tool handy for theory lessons.
Choose a simple public-domain melody such as Ode to Joy or Twinkle Twinkle and press Start lesson. Bars fall towards the red line; press the matching key as each bar arrives. With Wait for me switched on the song pauses until you press the right key, so you can learn at your own pace. Your hit count shows your progress.
Set a tempo, enable the metronome if you want a one-bar count-in, press Record, play, then Stop. You can play the take back, quantise it so slightly early or late notes snap to a grid, and download it:
Everything happens locally in your browser: sounds are generated live and your recordings are not uploaded.
Press the letter shown on each key. In two-row mode Z S X D C V G B H N J M play the lower octave and Q 2 W 3 E R 5 T 6 Y 7 U the upper one. In full mode the 1-0, Q-P, A-L and Z-M rows are the white keys and holding Shift plays the sharp. Use the Octave buttons to move the whole map up or down.
Yes. Press "Connect MIDI keyboard", allow access, and pick your device. Note velocity and the sustain pedal (CC64) are supported. Web MIDI works in Chrome, Edge and Opera on desktop and Android. Safari and Firefox on iPhone do not support it.
Open the Recorder, press Record (a one-bar metronome count-in is optional), play, and press Stop. You can then play it back, quantise it to a sixteenth-note grid, and download a .mid file for any music software or a .wav rendered in your browser.
The sounds are generated live with Web Audio oscillators and envelopes, not recordings. That keeps the page tiny, instant and licence-free, but it is a piano-like synth rather than a sampled grand. The electric piano, organ and synth lead sounds suit those instruments more closely.
Yes. Turn the phone sideways, use the octave arrows above the keys to move along it and use several fingers at once, since multi-touch is supported. For the best feel use a tablet or the 61-key layout.
No. Sound is synthesised in your browser, recordings stay in memory and files are created locally. Only your layout and sound choices are remembered in your browser storage.