HarmonyHub

Virtual piano: play piano online with your computer keyboard

This free online piano turns your laptop or desktop keyboard into a piano keyboard. The home row plays the white keys and the row above plays the black keys, so you can pick out melodies and chords in seconds.

Three octaves are on screen and you can shift up or down two more. Click with a mouse or tap on a phone or tablet if you prefer. It is a quick way to practise piano without a real instrument.

How to play the piano with your computer keyboard

  • A S D F G H J K L ; play the white keys from C4 up to E5.
  • W E T Y U O P play the black keys (sharps and flats).
  • Use the octave buttons to move the keyboard two octaves up or down.
  • Turn on note labels, keep the octave shift at 0, and try a five-finger exercise: A S D F G F D S A plays C4 D4 E4 F4 G4 F4 E4 D4 C4. Play one note per beat at 60 BPM, then repeat without speeding up.

What you can do on the virtual piano

  • 36 on-screen keys (3 octaves) with octave shift
  • Letter note labels for beginners
  • Built-in metronome from 40 to 240 BPM
  • Record a melody, play it back and download it
  • Piano themes, including dark mode and neon
  • Can be played in live music rooms with friends

2 piano types to choose from

  • Classic Piano: The familiar three-octave piano with note labels, octave shift and the A-to-semicolon computer-keyboard layout.
  • Studio Grand Piano: A polished concert-style piano with an ivory-and-obsidian keybed, three playable octaves and the same familiar computer-keyboard map.

Frequently asked questions

How do I play piano on my computer keyboard?

Press A S D F G H J K L ; for the white keys and W E T Y U O P for the black keys. A is middle C (C4). Use the octave buttons to reach higher or lower notes.

Is the virtual piano free?

Yes. The piano is free to play in your browser with no download and no sign-up. You can record and save favourites without an account; a free sign-in adds music rooms and Google Drive backup.

Can I play the online piano on my phone?

Yes. Tap the keys on any modern phone or tablet. Turn your phone sideways or use the zoom button for bigger keys.

Can I record what I play on the virtual piano?

Yes. Press record, play your melody, then play it back or download it.

Piano types

Related instruments

What else you can do with the virtual piano

Music tools

Learn and explore

Latest articles