Play Piano Instantly in Your Browser
A full 3-octave piano keyboard that runs entirely in your browser. Click keys, tap on touch screens, or use your computer keyboard to play notes and chords. No app, no sign-in, no cost.
Start Playing
Virtual Online Piano Keyboard
Click keys, use your touch, or play with your computer keyboard. 3 octaves · polyphonic · no sign-in needed.
Click any key or press a keyboard key to enable audio.
Keyboard Map
Octave 3 (lower)
White keys: Z X C V B N M
Black keys: S D G H J
Octave 4 (middle)
White keys: Q W E R T Y U
Black keys: 2 3 5 6 7
Octave 5 (upper)
White keys: I O P
Black keys: 9 0


Full Polyphonic Sound
Hold multiple keys at the same time to play chords. The Web Audio API engine handles as many simultaneous notes as your browser supports — triads, seventh chords, full voicings.
Try It Now
4 Waveform Tones
Switch between Triangle (warm, piano-like), Sine (pure tone), Square (hollow organ), and Sawtooth (bright synth) to explore different sounds — all generated in real time with ADSR envelopes.
Explore Sounds


Computer Keyboard Mapping
Every key maps to a computer keyboard shortcut — three rows covering three full octaves. Hold multiple keyboard keys simultaneously for chords. Labels can be toggled on or off.
See the MapStart playing in three steps
Open the page
The piano loads instantly in your browser. No download, no installation, no sign-in. Just open the page.
Click or tap any key
Click white or black keys with your mouse, tap on a touch screen, or press the mapped computer keyboard keys. Audio activates on your first interaction.
Play notes and chords
Hold multiple keys at once for chords. Adjust the volume slider, switch waveforms to change the tone, and toggle labels for guidance.
Deep Dive
How the Browser Piano Works
The piano uses the Web Audio API built into every modern browser — no plugins or downloads needed.

All audio is generated locally in your browser. Nothing is sent to any server. Your playing session is completely private.
Why Use This Piano
No Installation
Runs entirely in your browser. Open the page and play immediately.
Polyphonic Chords
Hold multiple keys at once for full chords and voicings.
Keyboard Shortcuts
Three full octaves mapped to your computer keyboard for hands-on practice.
4 Waveform Tones
Switch between Triangle, Sine, Square, and Sawtooth in real time.
Who Uses It
Who Uses the Virtual Piano
From beginners learning their first scale to developers testing audio apps — here are the most common uses.

Runs entirely in your browser. No server calls, no sign-in.
Frequently Asked Questions
Do I need to install anything to play?
No. The piano runs entirely in your browser using the Web Audio API. No plugins, no apps, and no sign-in are required. Just open the page and click a key.
How do I play with my computer keyboard?
The lower letter row (Z X C V B N M) plays Octave 3 white keys, with S D G H J for the black keys. The top row (Q W E R T Y U) plays Octave 4 white keys, with 2 3 5 6 7 for the black keys. I O P cover Octave 5 white keys (9 0 for sharps). Hold multiple keys simultaneously for chords.
Can I play chords?
Yes. The piano is fully polyphonic. You can press multiple mouse buttons, touch multiple keys on a touch screen, or hold several keyboard keys at the same time to play chords.
Does it work on mobile and tablet?
Yes. The keyboard responds to touch events on any touch-screen device. Scroll horizontally to reach all three octaves on smaller screens.
What do the Sound options do?
The Sound selector changes the oscillator waveform. Triangle gives a warm, mellow tone closest to an acoustic piano. Sine produces a pure, smooth tone. Square has a hollow, organ-like character. Sawtooth is bright and buzzy, similar to a synth lead.
Why is there no sound when I first open the page?
Modern browsers block audio before the user interacts with the page. Click any key or press a keyboard key once and audio will activate for the rest of your session.
Ready to Play?
Scroll back up to the keyboard, click a key, and start making music right now.