Virtual Piano Online Free
Play a two-octave keyboard with mouse, touch, or your computer keys — no install required.
How to Use the Online Piano
Unlock audio
Click any key once so your browser allows sound (required by most browsers).
Play notes
Use on-screen keys or the computer keyboard map shown under the piano.
Adjust range & tone
Shift octaves, change volume, pick a sound, and toggle sustain as needed.
Frequently Asked Questions
How do I play this virtual piano?
Click or tap the on-screen keys, or use your computer keyboard (A S D F G H J K for white keys; W E T Y U for black keys). Z and X change octave.
Is audio private?
Yes. Notes are synthesized in your browser with the Web Audio API. Site95 never receives your playing.
Can I change the sound?
Yes. Choose Piano, Soft sine, Triangle, Square, or Sawtooth from the Sound menu, and adjust volume and sustain.
What notes are shown?
Two octaves are visible at a time, starting from the selected base octave (default C4–B5). Shift octaves to reach lower or higher ranges.
Does it work offline after loading?
After the page and script load, the piano runs locally. You only need a network connection to open the page initially.
Why did sound stop?
Some browsers suspend audio when the tab is in the background. Click a key again to resume. Also check device volume and the on-page volume slider.
Free Virtual Piano for Browser Practice
Whether you are learning note names, testing a melody, or showing a child how a keyboard works, this online piano keyboard gives you instant access without plugins, apps, or accounts. Sound is generated locally with the Web Audio API — nothing is uploaded.
How to play
Click or tap the on-screen keys, or use your computer keyboard (white keys A–K, black keys W/E/T/Y/U). Change octaves with the toolbar or Z/X. Toggle sustain with Space or the Sustain button. Use Maximize for a full-screen keyboard on desktops and phones.
Who this is for
Beginners exploring music theory, songwriters sketching ideas away from a physical piano, teachers demonstrating intervals in a browser, and anyone who wants a quick private instrument without installing software.
Privacy and performance
Notes are synthesized on your device. There is no recording uploaded to Site95. For best sound, use headphones and a modern browser. If audio does not start, click a key once to unlock the browser audio context.
Also try the free virtual xylophone, or our online calculator, QR code generator, and PDF tools.