Online Piano — Free Virtual Piano Keyboard
A free online piano that plays right in your browser, with no download. Press the two octaves of on-screen keys with your fingers or mouse, or play with your computer keyboard. The piano sound is synthesized in your browser, so it plays instantly without loading audio files.
Want a game? Tap the black tiles to play songs in our 🎮 Piano Tiles game.
⌨️ Keyboard layout
| Lower octave | White keys Z X C V B N M = C D E F G A B · black keys S D G H J |
|---|---|
| Upper octave | White keys Q W E R T Y U I = C D E F G A B C · black keys 2 3 5 6 7 |
| Other | Hold the space bar for the sustain pedal · ← → shift octaves (C2 to C7) |
🎹 Features
- Sustain — the button stays on until you press it again; the space bar works only while held. Releasing the pedal stops ringing notes.
- Record and play back — press ⏺ Record, play, then press it again to save; press ▶ Play to listen. Recordings stay only in this browser.
- Play along — pick a song and the next key lights up in yellow. Press the right key to move on to the next note.
- Labels — switch the letters on the keys between C D E, Do Re Mi, or off.
- Play chords with several fingers, or slide across the keys for a glissando.
❓ FAQ
How do I play the piano with my computer keyboard?
The bottom row Z X C V B N M plays the white keys of the lower octave (C D E F G A B), and S D G H J above it are the black keys. The top row Q W E R T Y U I plays the upper octave (C D E F G A B C), with the number keys 2 3 5 6 7 as the black keys. Every key shows its keyboard letter. Use the ← → arrows to shift octaves and hold the space bar for the sustain pedal.
Does it work on a phone?
Yes. Press the on-screen keys with your fingers; you can play chords with several fingers or slide across the keys for a glissando. Turn your phone sideways for wider keys. If there is no sound, turn off silent mode (the ringer switch).
Where is my recording saved?
Press Record, play, and press it again to save the recording in this browser. Press Play to listen; it will still be there next time you visit. Nothing is sent to a server.
Which songs can I play along with?
Twinkle Twinkle Little Star, Lightly Row (Hänschen klein), Mary Had a Little Lamb, Jingle Bells, Ode to Joy, Brahms' Lullaby (Wiegenlied), Minuet in G Major, Arirang, Für Elise, Canon in D, Turkish March (Rondo alla Turca). They are all public domain, and the next key to press lights up in yellow.
More: 🎮 Piano Tiles game · 🎵 4 Key Rhythm Game · 🥁 Beat King · Online Metronome