Skip to content

Virtual Piano

A two-octave playable piano built on the Web Audio API. Play with the mouse, touch, or your computer keyboard, then use the chord and scale helpers to see and hear how harmony is built.

Keyboard — C4 to B5

Playing:

Lower octave: Z S X D C V G B H N J M · Upper octave: Q 2 W 3 E R 5 T 6 Y 7 U

Sound

Chord & scale helper

Diatonic chords in C Major — click one to highlight it on the keyboard

Highlighted: C = C · E · G

Chord type on C — highlights and names any chord you pick

C = C · E · G. The scale notes in C Major are C · D · E · F · G · A · B.

About this tool

Every note is a Web Audio oscillator with a short attack ramp and a decay-to-sustain envelope, so notes start and stop cleanly instead of clicking; a compressor on the master bus keeps chords from clipping. The AudioContext is only created when you first play something, and it is closed again when you leave the page. Chord and scale work is plain music theory, and nothing is recorded or sent anywhere — it all runs in your browser.

  • 100% free — no account needed
  • Runs in your browser
  • Nothing is uploaded

Frequently asked questions

Is Virtual Piano really free?

Yes. Virtual Piano is completely free on PureBrowser — every feature, with no account, no trial, and no credit card.

Does Virtual Piano upload my data?

No. Virtual Piano runs entirely inside your browser, so anything you type, paste, or open stays on your own device.

Do I need to sign up or install anything?

Neither. There is no account and nothing to download — open the page and Virtual Piano is ready to use on desktop or mobile.

Does Virtual Piano work offline?

Once the page has loaded, yes. All of the processing happens locally in your browser, so it keeps working without a connection.