About the Virtual Piano
This virtual piano lets you play a real-sounding grand piano online, right in your browser. Play it with the mouse, with several fingers on a phone or tablet, or with your computer keyboard — then record what you play and download it as an MP3, WAV or MIDI file.
The sound comes from recordings of a real Yamaha grand piano, so a note sounds like a piano and not like a beep. Hold the sustain pedal (the Space bar) to let the notes ring, change the octave with Z and X, and watch the small display name the chord you play.
It is free, there is no sign-up, and nothing you play is uploaded.
Features
- Real piano sound — a sampled grand piano with the natural ring of each note
- Mouse, touch and keyboard — play chords with several fingers, slide along the keys for a glissando, or use the A to K row of your keyboard
- Sustain pedal — hold Space, or switch the pedal on with one button
- 1 to 7 octaves on screen — the keyboard fits your screen; the arrows and the small map move it over all 88 keys
- Play a song — 11 easy songs; the next key glows and the song waits for you
- Chord display — shows the notes you hold and the chord name (C, Am, G7, Dmaj7 …)
- Record and download — listen to your recording, then save it as MP3, WAV or MIDI in one click
- MIDI keyboard — plug in a USB keyboard and play with real touch strength (Chrome and Edge)
- Full screen — bigger keys for long practice sessions
Easy piano songs with letters
Pick a song under Play a song and the piano becomes a small teacher. The next key glows green, and the song waits until you press it. Press Listen to hear the melody first. There are 11 songs, from nursery rhymes to Für Elise.
You can also play from these letters. They are the keys of a QWERTY computer keyboard, with the piano on C4 (the place where it starts). A slash marks the end of a phrase.
| Song | Keys to press |
|---|---|
| Twinkle, Twinkle, Little Star | A A G G H H G / F F D D S S A / G G F F D D S / G G F F D D S |
| Mary Had a Little Lamb | D S A S / D D D / S S S / D G G / D S A S / D D D D / S S D S / A |
| Ode to Joy | D D F G / G F D S / A A S D / D S S / D D F G / G F D S / A A S D / S A A |
| Happy Birthday | A A S A F D / A A S A G F / A A K H F D S / U U H F G F |
| Jingle Bells (chorus) | D D D / D D D / D G A S / D / F F F F / F D D D D / D S S D / S G |
| Row, Row, Row Your Boat | A A A S D / D S D F G / K K K G G G D D D A A A / G F D S A |
| Für Elise (opening) | ; P ; P ; J L K H / A D H J / D Y J K / D ; P ; P ; J L K H |
Which computer key plays which note
With the normal layout, the middle row of your keyboard is the white keys and the row above is the black keys, just like on a piano:
| Computer keys | Piano notes |
|---|---|
| A S D F G H J | C D E F G A B (white keys) |
| W E T Y U | C# D# F# G# A# (black keys) |
| K L ; ' | C D E F of the next octave |
| O P | C# D# of the next octave |
| Z / X | one octave down / up |
| Space (hold) | sustain pedal |
The letters are printed on the keys. Choose Two rows under More options to play two octaves at once: Z S X D C V … for the lower octave and Q 2 W 3 E R … for the upper one.
Good to know
- The piano sound loads on your first note. It is about 2 MB from a public file server (jsDelivr); the first notes may sound simpler for a second.
- Mouse and computer keys play at one strength. Only a MIDI keyboard plays soft and loud notes.
- Most computer keyboards stop at 3 to 6 keys pressed at once. This is the keyboard, not the page; a touch screen or a MIDI keyboard can play bigger chords.
- A recording can be up to 10 minutes long. It starts with your first note, so you do not get silence at the start. The last 10 recordings stay in this browser.
- Bluetooth headphones add a small delay. For fast playing, use the device speaker or wired headphones.
Frequently asked questions
Can I play the piano with my computer keyboard?
Yes. A S D F G H J K play the white keys from C to C, W E T Y U play the black keys, Z and X change the octave, and Space is the sustain pedal.
Can I learn easy songs on the virtual piano?
Yes. Choose one under Play a song. The next key glows, and the song moves on only when you press the right note, so you can go as slowly as you like. Press Listen to hear it first. It works with the mouse, on a phone and with a MIDI keyboard too.
Is this online piano free?
Yes. There is no sign-up, no time limit and no watermark. The files you record are yours.
How do I record my playing and save it as an MP3?
Press Record, play, then press Stop. Your recording shows up under the piano. Press Play to listen, then Download MP3. WAV (best quality) and MIDI (the notes, for music programs) are one click away too.
Can I use a MIDI keyboard?
Yes, in Chrome and Edge. Plug in the keyboard, open More options and press Use a MIDI keyboard. The browser asks for permission once. Touch strength and the sustain pedal of your keyboard work too.
Why do I hear nothing?
Press a key once more — browsers start sound only after a click or a key press. Check the volume slider and your device volume. On an iPhone, also check the silent switch on the side.
How many keys does the virtual piano have?
It covers the 88 keys of a real piano. The screen shows as many octaves as fit (on a phone, one octave at a time); use the arrows or tap the small map to move. The four lowest keys (A0 to B0) can only be played from a MIDI keyboard.
Where does the piano sound come from?
It is the free Salamander Grand Piano by Alexander Holm, recorded from a Yamaha C5 grand piano and shared under the CC BY 3.0 licence. The sound files are downloaded once to your browser; what you play is never uploaded.
Related tools
- Metronome — keep a steady tempo while you practise
- Drum Machine — make a beat to play along with
- Song Key Finder — find the key of a song before you play it
- Vocal Range Test — find your lowest and highest note
- Audio to MIDI — turn a sung or played melody into notes
- Chord Transposer — move the chords of a song to an easier key
How to use it
- Press any key on the piano — click it, tap it or press A on your keyboard. The real piano sound loads in a moment.
- Play the white keys with A S D F G H J K and the black keys with W E T Y U O P.
- Choose a song under Play a song and press the glowing keys, or play what you like.
- Use Z and X, or the arrows, to move to a lower or higher octave.
- Hold Space (or press Sustain) to let the notes ring.
- Press Record, play your song, then press Stop.
- Press Play to listen to your recording.
- Press Download MP3, or choose WAV or MIDI.