Virtual Piano

Play piano online with real sounds, sustain pedal, and computer keyboard mapping.

Octave C3 – B5
Click to load sounds
Sustain ON

How to Play This Virtual Piano

  1. Click or tap the piano keys to play notes with real piano sounds.
  2. Use your computer keyboard — toggle "Show Keys" to see the key mapping. The bottom row (Z-M) plays white keys, top row adds another octave.
  3. Press Space or toggle the Sustain button to hold notes like a sustain pedal.
  4. Shift octaves with the arrow buttons to reach higher or lower registers.
  5. Toggle Show Notes to display note names (C, D, E...) on each key.

Keyboard Shortcuts

Z – M White keys (lower octave) S D G H J Black keys (lower octave) Q – U White keys (upper octave) 2 3 5 6 7 Black keys (upper octave) Space Toggle sustain pedal ← → Shift octave down / up