Play Piano Right in Your Browser
A full online piano that runs entirely in your browser. Use the top row of letter keys for white notes and the number row for black notes, or just click the keys. Record sessions, mark chord shapes, and share them with a link — no app or account needed.
Start Playing
Play Piano Online
Use your computer keyboard or click the keys. Top row of letters = white keys · numbers = black keys. Polyphonic, no download, no sign-in.
⏳ Loading grand piano samples…
Keyboard Shortcuts
White keys (top letter row)
Q W E R T Y U I O P
C D E F G A B C D E (octave 4 → 5)
Black keys (number row)
2 3 5 6 7 9 0
C# D# · F# G# A# · C# D# (octave 4 → 5)
Chord / polyphony
Hold multiple keys simultaneously.
Play marks
Press Space to strum all marked notes as a chord.


Computer Keyboard to Piano Keys
Your keyboard's top row of letters (Q–P) maps to white piano keys. The number row (2, 3, 5, 6, 7, 9, 0) maps to black keys — matching the real gaps in a piano keyboard. Hold multiple keys at once for chords.
Try It Now
Record and Download Your Sessions
Hit Record to capture up to 5 minutes of playing using your browser's built-in audio engine. Stop when done, then play it back or download the recording as a WebM audio file — no external software needed.
Record Now


Mark Chords and Share via URL
Click the Mark button to enter mark mode, then click any keys to tag them. Press Space or the "Play Marks" button to strum all tagged notes as a chord. Your marks are automatically encoded into the page URL — copy it to save or share your chord shape.
Mark a ChordHow to use the virtual piano
Open the page and play
The piano loads instantly. Click any key or press Q–P on your keyboard to produce sound. No sign-in, no plugin, no download.
Customise in Settings
Click Settings to switch key labels between note names and keyboard shortcuts, adjust the volume, and change the octave to play higher or lower notes.
Record, mark, and share
Hit Record to capture your session. Use Mark mode to tag a chord shape and share it via URL. Press Space at any time to play all marked notes as a chord.
Deep Dive
How the Online Piano Works
Everything runs in your browser using the Web Audio API — no server calls, no plugins.

All audio is generated and recorded locally. Your playing and recordings never leave your device.
Why Use This Piano
No Installation
Runs in any modern browser. Open the page and play in seconds.
Polyphonic
Hold as many keys as you like simultaneously — chords, runs, and voicings all work.
Keyboard Layout
Letter row for white keys, number row for black keys — intuitive and easy to memorise.
Record & Download
Capture up to 5 minutes of audio and download it as a WebM file.
Chord Marks
Tag notes, strum them with the spacebar, and share your chord via URL.
Adjustable Octave
Shift the keyboard shortcuts across 3 octave ranges to suit your playing style.
Who Uses It
Who Plays the Virtual Piano
From first-time learners to music professionals finding a quick tool.

No sign-in, no download, no cost. Runs entirely in your browser.
Frequently Asked Questions
Do I need to install anything to play?
No. The piano uses the Web Audio API built into every modern browser. Just open the page and click a key to start.
What keyboard keys correspond to which notes?
The top row of letters (Q W E R T Y U I O P) plays the white keys starting from C in the selected octave. The number row (2, 3, 5, 6, 7, 9, 0) plays the black keys — matching the physical gaps in a real piano where there are no sharps or flats. Switch to "Keyboard Keys" labels in Settings to see the shortcuts directly on the piano.
How do I change the octave?
Click the Settings button and use the octave control to select octave 3, 4, or 5. This shifts what notes your keyboard shortcuts play while keeping the full piano visible.
How do I record my playing?
Click the Record button. It captures the synthesised audio directly — up to 5 minutes per session. Click Stop when done. You can then play the recording back in the browser or download it as a WebM audio file.
What is Mark mode?
Click the Mark button to enter mark mode. While in mark mode, clicking keys tags them with a gold dot instead of playing them. Once you have tagged all the notes of a chord or melody fragment, press Space or click "Play Marks" to hear them all at once. Copy the page URL to save or share your marks.
How do I share a chord with someone?
Mark the notes of your chord using Mark mode, then copy the URL from your browser's address bar. Anyone who opens that link will see the same notes pre-marked on their piano.
Can I play chords?
Yes. The piano is fully polyphonic. Press multiple letter keys at the same time, click multiple keys with your mouse (or touch several keys on a touch screen) to play chords.
Why is there no sound when I first open the page?
Browsers block audio before any user interaction. Click a key or press a letter key once and audio activates for the rest of the session.
Ready to Play?
Scroll up to the keyboard, press Q to play middle C, and start making music.