Lab · Music

Pocket Piano

Pocket Piano is a free online tool that plays a two-octave piano right in your browser — press the keys with mouse, touch, or your computer keyboard, hold notes with sustain, and switch voices, with nothing to download and nothing leaving your browser.

Two octaves · click, tap, or type

Range: C4 – B5 · Sustain: Off

Audio is not supported in this browser, so the keys cannot sound — the keyboard still displays.

Controls

Sustain
Octave
Voice
Volume 70%
Demo tune

Last notes played

Play a key — your recent notes will appear here.
How to play

Click or tap the keys, or type on your computer keyboard: A=C, W=C#, S=D, E=D#, D=E, F=F, T=F#, G=G, Y=G#, H=A, U=A#, J=B, K=C (next octave), O=C#, L=D, P=D#, ;=E (next octave). The keyboard map follows the current base octave, so Octave up moves every typed note up with the displayed keys. Sustain Off stops a note about 0.15 seconds after you lift; Sustain On lets it ring for about 1.5 seconds, so chords overlap. The demo tune plays the opening of "Ode to Joy" in the current base octave.