Free, in your browser, no sign-up
Virtual Piano
This virtual piano sounds the moment you press a key, and its keys are a grand piano recorded note by note: the 86 from B0 to C8 each have a recording of their own, and the lowest two are B0 played lower. Play it with your computer keyboard, your fingers or a MIDI keyboard, free in your browser with no sign-up. Hold the pedal, learn a song one key at a time, and record what you play to keep.
Hear a song on this piano
Press a key, click or tap to play
- each its own grand piano recording, B0 to C8
- 86 keys
- at most for the page to start a note once your input arrives
- 3 ms
- piano rows or letter sheets
- 2 layouts
- at once on a phone or tablet
- 5 fingers
- MIDI, WAV and MP3 of what you record, free
- 3 formats
- to listen to, follow and play
- 20 songs
What is a virtual piano?
A virtual piano is a piano keyboard on your screen that you play with a mouse, your fingers or your computer keyboard. This one has 88 keys from a grand piano recorded note by note, and sounds the moment you press. It has a sustain pedal, works with MIDI keyboards and saves what you play as MIDI, WAV or MP3, free with no sign-up.
How to play the virtual piano in three steps
Turn your volume up a little first: the virtual piano sounds as soon as a key goes down.
Press a key
Click or tap any key of the virtual piano, or press Q on your computer keyboard for middle C. The Z and Q rows play the white keys, the rows above them the black keys, and the arrow keys move up or down an octave.
Hold notes and play chords
Hold Space for the sustain pedal, press several keys at once for a chord, or slide across the keys for a glissando. The chord you hold is named above the virtual piano keyboard.
Play a song or record
Pick a song to hear it on the online piano or follow it key by key, or press Record, play, and download your take as MIDI, WAV or MP3.
A virtual piano keyboard that plays like a real piano
What an online piano needs to feel real: piano sound on every key, notes that start on the press, your own way to play, and a way to keep what you played.

Play 88 keys of a grand piano recorded note by note
The 86 keys of this virtual piano from B0 to C8 are each a grand piano’s own recording, kept as long as the note rings, 1 to 12 seconds; the lowest two, A0 and B♭0, are B0 played two semitones and one semitone lower. The middle three octaves load first, about 1.1 MB; all 88 keys come to about 2.5 MB.
The page starts each note within 3 ms
A piano that answers late is hard to keep in time. This online piano starts each note on the press itself and times the page’s own part of every press, from the moment your input reaches it to the note starting: 3 ms at most with mouse, touch, computer keys and MIDI in Chrome and Firefox, and 2.7 ms at most on the first press of a fresh page. The browser’s handling of the input and your audio device come on top.
Play piano online with your computer keyboard, two ways
Piano rows put the white keys on the Z and Q rows and the black keys on the row above each, read by position so they stay put on AZERTY or QWERTZ. Letter sheets use the 61-key letter layout, so letter notes sheets from the web play as written on this virtual piano keyboard. Label the keys with computer keys, note names or Do Re Mi.
Five fingers at once on a phone or tablet
A chord needs several fingers down together. Touch up to five keys at once and every one sounds; slide a finger along the keys and each key it crosses plays, a glissando. On a phone the online piano shows about two octaves, with an overview strip to slide along the keyboard.
Hold notes with the sustain pedal
Slow pieces and big chords need notes that keep ringing. On the virtual piano, hold Space, click the Sustain button to keep it down, or press your MIDI keyboard’s pedal. With the pedal up, a released key is damped, a little slower in the bass, and the top keys from G6 up ring on, as they do on a grand piano.
See the name of every chord you hold
Hold two or more keys and the virtual piano names the chord above the keyboard, spelled by letter the way the piano chords chart spells it. Press C, E, G and B♭ and it reads C7; the name links to the chart, where every chord has its inversions and fingering.
Connect a MIDI keyboard to the online piano
Want real keys under your fingers? Plug a USB MIDI keyboard into a computer or an Android phone and open the page in Chrome, Edge or Firefox, which asks your permission first. How hard you play sets the volume, the sustain pedal works, and you can plug in at any time. On an iPhone or iPad, and in Safari, play with touch, the mouse and your computer keys.
Record and download MIDI, WAV and MP3, free
Record on the virtual piano keeps every key and pedal move, with no microphone involved. Play your take back, then download a MIDI file for your DAW, a 16-bit WAV or a 192 kbps MP3. Takes stay in this browser, free and with no sign-up.
Learn 20 public-domain songs key by key
Listen while the keys light up, follow as the next keys light and the song waits for you, or play freely on the virtual piano with the sheet on screen. Slow a song to 50%, take one hand at a time, and read it as note names, keys to press or the staff.
Piano keys labeled: the 88-key note chart
Every key of the virtual piano named, from A0 at the bottom to C8 at the top, in letters and in Do Re Mi, with the octave number on each note. Print the chart free on Letter or A4 and keep it beside your screen.
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
|---|---|---|---|---|---|---|---|---|---|
| C | 432.70 | 1665.41 | 28130.8 | 40261.6 | 52523.3 | 641046.5 | 762093.0 | 884186.0 | |
| C♯/D♭ | 534.65 | 1769.30 | 29138.6 | 41277.2 | 53554.4 | 651108.7 | 772217.5 | ||
| D | 636.71 | 1873.42 | 30146.8 | 42293.7 | 54587.3 | 661174.7 | 782349.3 | ||
| D♯/E♭ | 738.89 | 1977.78 | 31155.6 | 43311.1 | 55622.3 | 671244.5 | 792489.0 | ||
| E | 841.20 | 2082.41 | 32164.8 | 44329.6 | 56659.3 | 681318.5 | 802637.0 | ||
| F | 943.65 | 2187.31 | 33174.6 | 45349.2 | 57698.5 | 691396.9 | 812793.8 | ||
| F♯/G♭ | 1046.25 | 2292.50 | 34185.0 | 46370.0 | 58740.0 | 701480.0 | 822960.0 | ||
| G | 1149.00 | 2398.00 | 35196.0 | 47392.0 | 59784.0 | 711568.0 | 833136.0 | ||
| G♯/A♭ | 1251.91 | 24103.8 | 36207.7 | 48415.3 | 60830.6 | 721661.2 | 843322.4 | ||
| A | 127.50 | 1355.00 | 25110.0 | 37220.0 | 49440.0 | 61880.0 | 731760.0 | 853520.0 | |
| A♯/B♭ | 229.14 | 1458.27 | 26116.5 | 38233.1 | 50466.2 | 62932.3 | 741864.7 | 863729.3 | |
| B | 330.87 | 1561.74 | 27123.5 | 39246.9 | 51493.9 | 63987.8 | 751975.5 | 873951.1 |
Hear nine examples played on this virtual piano
Each example is played by the virtual piano itself: C4 up to C5 with the keys for both layouts, Twinkle Twinkle Little Star over a root bass, Ode to Joy without and with the pedal, the opening of Für Elise, the Jingle Bells chorus in both hands, the bass of Pachelbel’s Canon with the chords the piano reads, a 20-second take with its MIDI and MP3, every C from C1 to C8 with A0 at the bottom, and Amazing Grace played slowly on the pedal.
Virtual piano guide: play, learn and record
Playing the virtual piano with your computer keyboard
Piano rows, the layout the virtual piano opens with, turns two rows of your computer keyboard into piano keys. The Z row plays white keys from C3, with black keys on the row above it: S and D, then G, H and J. The Q row plays white keys from C4, with black keys on the number row: 2 and 3, then 5, 6 and 7.
Middle C sits under Q, and under the comma key on the lower row, so both hands can start from it. The arrow keys move the whole layout down or up an octave. Keys are read by their position, so the layout stays where it is on AZERTY, QWERTZ and other keyboards.
Set the labels to Computer keys and every key of the virtual piano shows the computer key that plays it.
Letter notes sheets on the online piano
Letter notes sheets on the web are written for the 61-key letter layout, and the Letter sheets setting plays them as written. The 36 white keys from C2 to C7 run along your keyboard in order: 1 to 0, then Q to P, A to L and Z to M. T is middle C, and Shift with a key plays the black key just above it, so a capital T is C♯.
The opening of Twinkle Twinkle Little Star, C C G G A A G, is t t o o p p o in letter sheets and Q Q T T Y Y T in piano rows. Note names tell you which piano key to play on any piano; letter sheets tell you which computer key to press on this one. Every song in the library shows both, so there is nothing to convert.
Playing piano online on a phone or tablet
Turn the phone sideways for wider keys. Up to five fingers sound together, so a chord in one hand works, and sliding a finger along the keys plays each key it crosses, the way a glissando does on a real piano.
On a phone the virtual piano shows about two octaves at a time. The overview strip shows the whole keyboard in miniature: drag it to move to the bass or the treble. A tablet fits more, and the virtual piano switches between 37, 49, 61 and 88 keys.
On an iPhone, turn up the media volume, which is separate from the ringer. The piano plays as media, so a silent switch leaves it playing.
The 88 piano keys and their names
A full piano has 88 keys, 52 white and 36 black, from A0 at the bottom to C8 at the top. The white keys use seven letters, A to G, over and over. A black key takes the name of a neighbour with a sharp or a flat, so the black key between C and D is both C♯ and D♭.
That gives 12 notes in every octave: C, C♯, D, D♯, E, F, F♯, G, G♯, A, A♯ and B. Black keys sit in groups of two and three, and C is the white key just left of each group of two. Every key of the virtual piano keyboard carries a number after its letter, its octave, which starts on C, so C4 is middle C and B3 is the key just below it.
The 88-key note chart on this page names every key this way, in letters and in Do Re Mi, ready to print on Letter or A4.
Using the sustain pedal on the virtual piano
On a piano the sustain pedal lifts the dampers off the strings, so notes keep ringing after you let go. On the virtual piano, hold Space, click the Sustain button to keep it down, or use the pedal of a MIDI keyboard.
Change the pedal with the harmony: press it just after a chord sounds and lift it as the next chord comes, and the two join without blurring. Hear Ode to Joy in the examples, first without and then with the pedal. With the pedal up, a released key stops the way a grand piano’s does, a little slower in the bass, and the keys from G6 up ring on, as they have no dampers.
Connecting a MIDI keyboard
A USB MIDI keyboard plays the virtual piano in Chrome, Edge and Firefox on a computer or an Android phone. Plug it in, press Connect MIDI keyboard, and allow access when Firefox asks. You can plug it in before or after you open the page.
Velocity, how hard you strike a key, sets each note’s volume, and the keyboard’s sustain pedal works just like Space. On an iPhone or iPad, and in Safari, touch, the mouse and your computer keys play the same piano.
MIDI, WAV or MP3: which download to choose
Every take on the virtual piano downloads three ways. MIDI holds the notes themselves: which keys, when and for how long, and the pedal. Open it in your DAW or a notation program to change the sound, fix a wrong note or print a score.
WAV is the sound itself, 16-bit and uncompressed, ready for a desktop audio editor. MP3 is the same sound at 192 kbps in a much smaller file, ready to send or share. The 20-second example above shows a take’s MIDI and MP3 side by side with their sizes.
The MIDI download is a Standard MIDI File at 480 ticks a quarter note and 120 BPM, with the pedal as controller 64, so any MIDI program reads it.
Which songs to start with
Start with tunes you can already sing, in the right hand alone: Mary Had a Little Lamb, Twinkle Twinkle Little Star and Ode to Joy stay on a few neighbouring keys. Then add the left hand with Jingle Bells or Happy Birthday, and move on to the opening of Für Elise, Minuet in G, Greensleeves or Canon in D.
Each song plays three ways on the online piano. Listen plays it and lights the keys. Follow lights the next keys and waits until you press them. Free play keeps the sheet on screen while you play.
- 1Listen once at full speed to hear how the song goes.
- 2Follow it at 50% with the right hand, then the left hand.
- 3Follow it with both hands, then raise the speed step by step to 100% and beyond, up to 125%.
Why a note can sound late
Three delays add up between your press and the sound. First the browser hands your input to the page. In our runs in Chrome and Firefox that took 0 to 2 ms with mouse, computer keys and MIDI, and 0 to 20 ms with touch, different from run to run.
Then the page starts the note, and this virtual piano times that part on every press: 3 ms at most in Chrome and Firefox with any input, and 2.7 ms at most on the first press of a freshly opened page. The time it shows while you play counts from your input’s own timestamp, so it includes the browser’s part.
Last comes your audio device, which the page shows beside it. Wired headphones and speakers add the least; Bluetooth headphones add more. When timing matters, play with wired headphones.
Learning piano online
A virtual piano is a good place to learn where the notes are, read simple sheets and train your ear. Follow mode teaches a tune one key at a time, the note chart names every key, and the chord readout tells you what you just played. Plug in a MIDI keyboard and the same page gives you real keys for finger work. As a free online piano, it fits a few minutes of practice into any day, wherever there is a browser.
Keep a steady beat with the online metronome as you bring a song up to speed, or play over a beat from the online drum machine. For a bass, a pad or a lead instead, the online synthesizer plays from your computer keys too. See how keys and chords fit together on the circle of fifths. Find out how well you name notes by ear with the perfect pitch test.
Ways to use the virtual piano
Practice at a laptop, first songs, recorded ideas and MIDI keyboards, all on one free online piano.

Playing on a laptop with no piano around
At home, at work or on a trip, open the virtual piano and play from your computer keys. Two rows play like a piano’s keys, the pedal is on Space, and there is nothing to install.

Learning your first songs
Start with Twinkle Twinkle Little Star or Mary Had a Little Lamb. The sheet gives each note’s name and the key to press, and the piano plays the song first so you know how it goes.

Practising with follow mode
On the virtual piano, Follow lights the next keys and waits until you press them. Slow the song to 50%, learn the right hand, then the left, then put both hands together.

Holding notes with the sustain pedal
Play slow pieces such as Amazing Grace or Silent Night on the virtual piano with the pedal down through each chord, and hear the notes ring on and join as they do on a grand piano.

Recording an idea and sending it
Caught a melody? Record it on the online piano, play it back, then send the MP3 to a friend or the MIDI file to whoever is producing the track.

Playing a MIDI keyboard in your browser
A MIDI keyboard with no sound of its own plays a grand piano here. Plug it into a laptop, open the online piano in Chrome, Edge or Firefox, and play with velocity and the pedal.
Virtual piano FAQ
Open the virtual piano in the studio
Play all 88 keys at full width, record and download your takes, and learn songs in follow mode on a free online piano.



