Code tool

Virtual Piano

Play C4–C5 in your browser. These are synthesized tones, not recorded acoustic piano samples.

In-browser processingNo account requiredPrivacy details ↗

Focus this keyboard to use A W S E D F T G Y H U J K. Escape stops all notes.

Ready. Press a key to play.

A QUICK WALKTHROUGH

How to use this tool

  1. Set a comfortable volume, up to 20%.
  2. Press a piano key, or focus the keyboard and use A W S E D F T G Y H U J K.
  3. Release to stop a note; use Stop all to silence every note.

Local sound only

Web Audio creates the sound after a key press. No microphone, recording, download, upload, or external samples are used.

Bounded keyboard

There are 13 notes from C4 to C5 and at most six simultaneous voices. Each note stops after eight seconds. Leaving the page or window stops all sound.

GOOD TO KNOW

Common questions

Does it sound like a real acoustic piano?

It uses simple synthesized tones for note practice, without sampled acoustic piano sound.

Why is there no sound?

Press a key to enable audio, check your device volume, and use a browser with Web Audio support.