Virtual Piano
Play piano online with real sounds, sustain pedal, and computer keyboard mapping.
Click to load sounds
Sustain ON
How to Play This Virtual Piano
- Click or tap the piano keys to play notes with real piano sounds.
- 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.
- Press Space or toggle the Sustain button to hold notes like a sustain pedal.
- Shift octaves with the arrow buttons to reach higher or lower registers.
- 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