Virtual Piano – Play Online

Play the piano on your phone or computer — multi-touch keys, keyboard shortcuts, Sa Re Ga Ma labels and recording.

Last updated:

Key labels
C4

Tap the keys, or use A S D F G H J K L on a keyboard.

A piano in your browser

Learning a tune, checking a note while you sing, or just having fun — this virtual piano gives you two octaves of responsive keys on any phone, tablet or computer. Play with several fingers at once, glide across the keys, or use your computer keyboard. Label the keys with Western notes (C D E) or Indian sargam (Sa Re Ga), shift octaves, hold notes with sustain, and record your tune to play it back.

How to play

  1. Tap a key (or press A S D F… on a keyboard). The first tap turns on the sound.
  2. Use − / + (or Z / X) to move through the octaves.
  3. Tap Record, play, then Play back to listen.

Try these simple tunes

  • Happy Birthday (C major): G G A G C B · G G A G D C
  • Twinkle Twinkle: C C G G A A G · F F E E D D C
  • Sargam scale: Sa Re Ga Ma Pa Dha Ni Sa — the white keys from C to the next C.

Example

With labels set to Sa Re Ga, play the white keys from C upwards — Sa Re Ga Ma Pa Dha Ni Sa — which is the Bilawal thaat, the same as the Western C major scale. Record yourself playing it slowly, then play it back while you sing along to check your pitch. Tuning a guitar or ukulele instead? Use the online tuner.

Frequently asked questions

How do I play the piano with my computer keyboard?
The middle row plays the white keys: A S D F G H J K L ; and the row above plays the black keys: W E T Y U O P. Press Z / X to move down or up an octave. On a phone or tablet, just tap or slide across the keys — you can press several at once.
Can I see Sa Re Ga Ma on the keys?
Yes — choose “Sargam” to label the keys Sa, Re, Ga, Ma, Pa, Dha, Ni with C as Sa. It is a handy way to practise Indian classical and film songs on a keyboard.
Can I record what I play?
Tap Record, play your tune, then tap Stop. Play it back as many times as you like. Recordings stay on this page and are cleared when you leave.
Why is there no sound?
Make sure your phone is not on silent (some phones mute web audio in silent mode) and the volume is up. Tap a key once to allow the browser to start audio.