▶ TrainingGet Pro
All tools & lessonsAll toolsAllGet the appApp
Learning departments Music is open now – explore →

Virtual Piano: Play the Piano Online, Free

Classfern’s virtual piano is a free online keyboard: click, tap or type to play 37 keys from C3 to C6, with note names on every key. On a computer keyboard, A S D F G H J K play C D E F G A B C from middle C, and W E T Y U play the black keys. Record, play back and learn songs.

Updated · By the Classfern Music Department

Works in the UK and the US. This version uses US music words (measure, half step, quarter note, staff); the UK version uses bar, semitone, crotchet and stave. · UK version of this page

Key facts

  • Classfern’s virtual piano shows 37 keys, C3 to C6 (3 octaves), with note names on the keys.
  • Computer keys: A S D F G H J K play C D E F G A B C; W E T Y U play the black keys.
  • Works with a mouse, a touch screen (chords with several fingers) or a computer keyboard.
  • Free, no download and no sign-up; the sound is made in your browser.
  • Record and play back, a sustain switch, and five public-domain songs to learn, including Für Elise.
  • A real piano has 88 keys; middle C (C4) is underlined on the virtual keys.

Play the virtual piano

Click or tap the keys, slide across them, or use your computer keyboard: A is middle C and W E T Y U are the black keys. Z and X move the computer keys down or up an octave. Several fingers on a touch screen play chords.

Middle C is C4, the key with the underlined label.

Computer keys A to ' play C4 to F5.

Learn a song on the virtual piano

Marked by Classfern In “Let me play it”, the next key lights up and Classfern counts your wrong keys.

The piano sound is made in your browser. Recordings stay on this device until you leave the page; nothing is uploaded, and the microphone is never used.

How do you play the virtual piano?

Play Classfern’s virtual piano by clicking or tapping the keys, or by typing on your computer keyboard: the middle row A S D F G H J K plays C D E F G A B C from middle C, and the row above (W E T Y U) plays the black keys. Z and X move the typing keys down or up an octave.

Computer keys and the notes they play (starting octave)
Computer keyPiano note
AC4
WC♯4/D♭4
SD4
ED♯4/E♭4
DE4
FF4
TF♯4/G♭4
GG4
YG♯4/A♭4
HA4
UA♯4/B♭4
JB4
KC5
OC♯5/D♭5
LD5
PD♯5/E♭5
;E5
'F5

Turn on “Computer keys to press” in the labels menu to see the letters on the piano itself. Hold a key down for a long note; lift it to stop the sound, or switch on the sustain pedal to let notes ring.

Mr Chopin, Classfern’s head of music, waving hello

Can I learn piano on a virtual piano?

Yes, you can learn the basics on a virtual piano: note names, where the keys are, simple tunes, chords and scales. To play with both hands and control loudness you will need a real piano or keyboard, but a virtual piano is a free way to start today and to practice away from the instrument.

A good free path with Classfern’s tools:

  1. Learn the keys. Find every C and F using the piano notes chart.
  2. Play a tune. Use “Let me play it” above with Ode to Joy, then Twinkle and Jingle Bells.
  3. Learn three chords. C, F and G from the piano chord chart.
  4. Train your ear. Try the games on playing piano by ear.
  5. Read and play pieces. The falling-notes piano has wait mode, slow-down and thousands of free pieces.

How do you play Für Elise on the virtual piano?

Für Elise starts with the right hand rocking between E and the black key D♯: E D♯ E D♯ E, then B D C and a long A. On Classfern’s virtual piano, choose Für Elise and press “Show me” to watch the keys, then “Let me play it” to play it yourself one note at a time.

Beethoven wrote Für Elise in 1810 and it was published in 1867, so the music is in the public domain. The opening uses only the notes A to E above middle C plus the black key D♯, which makes it one of the most popular first “real” pieces. Our version is Classfern’s own simple right-hand arrangement of the opening.

Songs on the virtual piano (right-hand notes)
SongComposer and dateFirst notes
Für Elise (opening)Ludwig van Beethoven, written 1810, published 1867E5 D♯5 E5 D♯5 E5 B4 D5 C5 A4 C4 E4 A4 B4 E4 G♯4 B4 …
Ode to JoyLudwig van Beethoven, 1824E4 E4 F4 G4 G4 F4 E4 D4 C4 C4 D4 E4 E4 D4 D4
Twinkle, Twinkle, Little StarTraditional (French melody, 1761)C4 C4 G4 G4 A4 A4 G4 F4 F4 E4 E4 D4 D4 C4
Jingle Bells (chorus)James Lord Pierpont, 1857E4 E4 E4 E4 E4 E4 E4 G4 C4 D4 E4 F4 F4 F4 F4 F4 …
Minuet in G (opening)Christian Petzold, about 1725D5 G4 A4 B4 C5 D5 G4 G4 E5 C5 D5 E5 F♯5 G5 G4 G4

Looking for Clair de lune? Debussy’s piece (published in 1905) is in D♭ major, so it sits mostly on the black keys and needs both hands from the start. It is better learned in the falling-notes piano, where you can open a public-domain MusicXML or MIDI file, slow it down and practice each hand.

Is this virtual piano free?

Yes. Classfern’s virtual piano is free, with no download, no account and no ads. It runs in your web browser on computers, tablets and phones, and the piano sound is made on your device, so nothing you play is sent anywhere.

It works in current versions of Chrome, Edge, Firefox and Safari. If you hear nothing, check your volume and that the device is not on silent; on some phones the ring/silent switch also mutes web audio. For the lowest delay, use headphones or the computer’s own speakers rather than Bluetooth speakers, which can add a short lag.

Miss Clara Schumann, Classfern’s music helper, explaining with an open hand

What can I do with a virtual piano keyboard?

With a virtual piano keyboard you can play tunes, find the notes of a song, hear chords and scales, check the pitch of a note when singing, and learn where every key is. Classfern’s version adds recording, a sustain switch, labels in letters or do re mi, and guided songs.

Teachers use it on a classroom screen to show where notes are, and pupils use it at home without an instrument. For a whole class playing together, see class play-along. For composing, try the song maker.

Classfern’s free virtual piano is part of the Classfern Music Department at lessonplanner.info.

Quiz: virtual piano basics

Marked by Classfern 4 multiple-choice questions on the Classfern lesson engine. Your answers stay on this device.

More music tools