Virtual Piano

Play piano in your browser

Click the keys or use your keyboard to play. No plugins, no downloads — pure browser audio.

Web Audio APIKeyboard playable4 waveformsPolyphonic
Now playing
SoundPiano (sine)
OctaveC4 – B5
Active notes0

Sound type

Volume

50%

Base octave

C4
A
S
D
F
G
H
J
K
L
;
W
E
T
Y
U
O
P
T
Y
U
Keyboard shortcuts

White keys

ACSDDEFFGGHAJBKCLD;E

Black keys

WC#ED#TF#YG#UA#OC#PD#
How it works

Each keypress creates an OscillatorNode in the Web Audio API — a pure tone generator running at the exact frequency for that note.

A GainNode applies an ADSR envelope: fast attack, short decay to sustain, then a smooth release when you lift the key.

Multiple notes can play at once (polyphony) because each key gets its own independent oscillator chain.

All sound is generated live in your browser using the Web Audio API.

You might also like

Related tools

Help & answers

Frequently Asked Questions

Important disclaimer: Alexonic Tools is completely free to use. There is no charge, and we do not save tool inputs or generated results. We value customer privacy and keep building and fixing each day. Always verify important financial, payroll, legal, tax, business, or production-code results before relying on them. If you see an issue, need a tool, or require an update, send feedback to the developer.