Online Piano

Click or tap the keys, or play with your computer keyboard. The row from A to L plays the white keys.

Loading tool…

  • Free
  • No sign-up
  • Runs in your browser
  • Files never uploaded

How to use the online piano keyboard

  1. Click, tap or drag across the keys to play.
  2. On a computer, use A S D F G H J K L for white keys and W E T Y U O P for black keys.
  3. Press Z and X, or the octave buttons, to move lower or higher.
  4. Choose a different sound, or switch the labels to show computer keys.

Finding your way around the keyboard

The black keys come in groups of two and three. C is always the white key just to the left of a group of two black keys. From there the white keys run C, D, E, F, G, A, B and then repeat. Each repeat is called an octave. Middle C is C4, in the middle of a full-size piano.

The black keys are the sharps and flats. The black key between C and D can be called C sharp (C#) or D flat (Db).

Songs to try first

The letters are the white keys. Find C and count up.

SongNotes
Twinkle, Twinkle, Little StarC C G G A A G – F F E E D D C
Mary Had a Little LambE D C D E E E – D D D – E G G
Ode to JoyE E F G G F E D C C D E E D D
Happy BirthdayC C D C F E – C C D C G F
Jingle BellsE E E – E E E – E G C D E

Your first chords

A chord is three or more notes played together. To build a major chord, play a note, skip three keys (counting black and white) and play the fourth, then skip two and play the third.

ChordNotes
C majorC – E – G
G majorG – B – D
F majorF – A – C
A minorA – C – E
D minorD – F – A
E minorE – G – B

Those six chords are enough to play thousands of pop songs. The chord progression generator shows which ones sound good together.

Practicing on a computer keyboard

Most computer keyboards can register several keys at once, though some combinations of three or more keys may not all sound. That is a limit of the keyboard hardware. A touch screen does not have this problem.

A virtual piano is ideal for working out a melody, checking a note or learning where the notes are. To learn to play properly, a keyboard with weighted, full-size keys helps build the right technique.

Frequently asked questions

Can I play chords?

Yes. Hold several keys at once on a touch screen or computer keyboard.

How many keys does it have?

Two octaves, 25 keys, at a time. Use the octave buttons to reach lower and higher notes across six octaves.

Why is there no sound?

Turn the volume up and check the tab is not muted. On an iPhone, switch off silent mode.

Does it work on a phone?

Yes. It works in the browser on iPhone and Android. If you hear nothing on an iPhone, check that the silent switch is off.

Related tools