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

Follow it in the studioRecord and download

C3
ChordHold two or more keys

Press a key, click or tap to play

Z
X
C
V
B
N
M
Q
W
E
R
T
Y
U
I
O
P
[
]
S
D
G
H
J
2
3
5
6
7
9
0
=
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.

  1. 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.

  2. 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.

  3. 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.

A mirror-still salt flat reflecting a pink sunrise sky

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.

Print the note chart
A0
B0
C1
D1
E1
F1
G1
A1
B1
C2
D2
E2
F2
G2
A2
B2
C3
D3
E3
F3
G3
A3
B3
C4
D4
E4
F4
G4
A4
B4
C5
D5
E5
F5
G5
A5
B5
C6
D6
E6
F6
G6
A6
B6
C7
D7
E7
F7
G7
A7
B7
C8
Every key by octave (columns 0 to 8): its number from the bottom, 1 to 88, then its frequency in hertz with A4 at 440 Hz.
012345678
C432.701665.4128130.840261.652523.3641046.5762093.0884186.0
C♯/D♭534.651769.3029138.641277.253554.4651108.7772217.5
D636.711873.4230146.842293.754587.3661174.7782349.3
D♯/E♭738.891977.7831155.643311.155622.3671244.5792489.0
E841.202082.4132164.844329.656659.3681318.5802637.0
F943.652187.3133174.645349.257698.5691396.9812793.8
F♯/G♭1046.252292.5034185.046370.058740.0701480.0822960.0
G1149.002398.0035196.047392.059784.0711568.0833136.0
G♯/A♭1251.9124103.836207.748415.360830.6721661.2843322.4
A127.501355.0025110.037220.049440.061880.0731760.0853520.0
A♯/B♭229.141458.2726116.538233.150466.262932.3741864.7863729.3
B330.871561.7427123.539246.951493.963987.8751975.5873951.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.

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.

  1. 1Listen once at full speed to hear how the song goes.
  2. 2Follow it at 50% with the right hand, then the left hand.
  3. 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.

Rows of green tea bushes curving over rolling hills at sunrise

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.

One iridescent soap bubble floating over a sunny meadow

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.

A wooden boardwalk winding through golden grass toward the sea

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.

A single iceberg floating in a still glacier lagoon at blue hour

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.

A toy sailboat setting off across a misty lake, a rolled note tied with red thread at the foot of its mast

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.

A rope bridge crossing a misty forested gorge at dawn

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.

Open the virtual piano