Play piano with your computer keyboard

Type to play. Hold Space or Shift for the black keys.Tap the keys. Use the Black keys button for sharps.

Real grand piano sound · free · no sign-up

Octave 0

Play along: easy piano songs

Press Learn it and the next key lights up on the piano. Letters below are the keys to type; ␣ means hold Space (or Shift) for that one.Press Learn it and the next key lights up on the piano. Below are the notes; ♯ ones need the Black keys button.

Twinkle Twinkle Little Star

Traditional (French melody, 1761)

AC4 AC4 GG4 GG4 HA4 HA4 GG4 FF4 FF4 DE4 DE4 SD4 SD4 AC4 GG4 GG4 FF4 FF4 DE4 DE4 SD4 GG4 GG4 FF4 FF4 DE4 DE4 SD4 AC4 AC4 GG4 GG4 HA4 HA4 GG4 FF4 FF4 DE4 DE4 SD4 SD4 AC4

Ode to Joy

Ludwig van Beethoven, 1824

DE4 DE4 FF4 GG4 GG4 FF4 DE4 SD4 AC4 AC4 SD4 DE4 DE4 SD4 SD4 DE4 DE4 FF4 GG4 GG4 FF4 DE4 SD4 AC4 AC4 SD4 DE4 SD4 AC4 AC4

Für Elise

Ludwig van Beethoven, 1810

;E5 ␣LD♯5 ;E5 ␣LD♯5 ;E5 JB4 LD5 KC5 HA4 AC4 DE4 HA4 JB4 DE4 ␣GG♯4 JB4 KC5 DE4 ;E5 ␣LD♯5 ;E5 ␣LD♯5 ;E5 JB4 LD5 KC5 HA4 AC4 DE4 HA4 JB4 DE4 KC5 JB4 HA4

Jingle Bells

James Lord Pierpont, 1857

DE4 DE4 DE4 DE4 DE4 DE4 DE4 GG4 AC4 SD4 DE4 FF4 FF4 FF4 FF4 FF4 DE4 DE4 DE4 DE4 DE4 SD4 SD4 DE4 SD4 GG4 DE4 DE4 DE4 DE4 DE4 DE4 DE4 GG4 AC4 SD4 DE4 FF4 FF4 FF4 FF4 FF4 DE4 DE4 DE4 DE4 GG4 GG4 FF4 SD4 AC4

Mary Had a Little Lamb

Traditional (Lowell Mason, 1830)

DE4 SD4 AC4 SD4 DE4 DE4 DE4 SD4 SD4 SD4 DE4 GG4 GG4 DE4 SD4 AC4 SD4 DE4 DE4 DE4 DE4 SD4 SD4 DE4 SD4 AC4

How the keys work

  • The middle letter row is the pianoA S D F G H J K play C D E F G A B C: one octave of white keys, starting at middle C on A. Your fingers already rest there.
  • Row above = higher, row below = lowerQ W E … play the same notes one octave higher. Z X C … play one octave lower. Three rows, three octaves.
  • Hold Space or Shift for the black keysEvery key turns black and plays its sharp: A becomes C♯, S becomes D♯. D (E) and J (B) have no black key, just like a real piano. Let go and the keys turn white again.
  • Arrow keys move the whole piano← and → shift every key one octave down or up.
  • On a phone or tabletYou get two octaves of big keys. Tap Black keys once to switch, tap again to go back, or keep a thumb on it to play sharps only while you hold it. Turn your phone sideways for all three rows. Several fingers at once work too.

Why this layout

Most online pianos squeeze black keys onto the number row, so you have to learn a pattern before you can play a tune. Here the letters you already know are the white keys, in order, and one thumb on Space turns the same keys into the sharps. That makes simple songs playable within seconds, and the same idea scales from Twinkle Twinkle to Für Elise.

Questions

How do I play piano with my computer keyboard?

Open this page and type. The middle letter row A S D F G H J K L ; ' plays the white keys from middle C upward; the row above plays an octave higher and the row below an octave lower. Click or tap anywhere first if your browser blocks sound.

How do I play the black keys (sharps and flats)?

Hold the Space bar or Shift. The keys turn black on screen and every letter plays the black key just above its white key (A becomes C♯). Release to go back to white keys. C♯ is the same note as D♭, so flats work the same way.

Which key is middle C?

A. It has a small dot on screen. Z plays the C below it and Q (or K) the C above it.

Can I play chords?

Yes, press several keys at once. Many laptop keyboards only register 3 to 6 keys pressed together, so very large chords can drop a note; that is the keyboard, not the piano.

Does it work on a phone or iPad?

Yes. Tap the keys with as many fingers as you like and use the Black keys button for sharps. If you hear nothing on an iPhone, check the silent switch and the volume.

How do I share a song I played?

Play something, then press "Share what I played". You get a link; whoever opens it can press Play to hear your melody on this piano, or Learn it to play it themselves.

What piano sound is this?

The Salamander Grand Piano: a Yamaha C5 grand recorded note by note by Alexander Holm, released under CC BY 3.0. While it loads (a second or two) you hear a simple built-in tone.

Is it free?

Yes. No sign-up, no download, no cookies.