ButtonBass
Make Music Online

Virtual Piano – Play Piano Online With Your Computer Keyboard

Play a free virtual piano right in your browser — with your computer keyboard or your mouse. Every one of the 49 keys is labeled with its shortcut, so you can start playing in seconds. Pick any of the 21 built-in songs, script your own arrangements, and record what you play. No download, no sign-up.

Z
1
X
2
C
V
3
B
4
N
5
M
,
6
.
7
/
A
8
S
9
D
0
F
G
!
H
@
J
K
#
L
$
Q
%
W
E
^
R
&
T
Y
*
U
(
I
)
O
P
Beethoven - Für Elise

About the ButtonBass Virtual Piano

The piano is one of the most expressive and versatile instruments ever made — capable of melody, harmony, and rhythm all at once, across classical, jazz, pop, and everything between. This free virtual piano brings a full, playable keyboard to your browser, so you can play piano online with your computer keyboard or mouse — complete with 21 built-in songs, song scripting, a song generator, and audio recording. Learn, compose, and capture ideas without needing a physical instrument at all.

This free piano is part of ButtonBass, a music platform that has been helping people make music in the browser for over a decade. It sits alongside our other keyboards and instruments — synthesizers, beat makers, guitars, the bass, and the banjo — all playable in the browser with no downloads, sign-ups, or payments.

Play the Virtual Piano With Your Computer Keyboard

The best part of this virtual piano is that you can play it entirely with your computer keyboard — no mouse required. Every on-screen key is labeled with the letter or number that triggers it, spanning 49 keys (29 white and 20 black) across four octaves. The white keys map to your keyboard's letter rows and the black keys (the sharps and flats) to the number row above, so the layout mirrors a real piano. Once you've learned the shortcuts, use Show/Hide Keys to hide the labels for a cleaner keyboard. It's the fastest way to play piano online with a keyboard, whether you're picking out a tune by ear or following along with one of the built-in songs.

How to Play the Virtual Piano Online

Play the virtual piano with your computer keyboard, or click the keys with your mouse — each key is labeled with its shortcut letter so you can find notes quickly. Pick any of the 21 built-in songs from the song menu beside Play — Beethoven's Für Elise, the Moonlight Sonata, Pachelbel's Canon, The Entertainer and more — then press Play, and adjust Tempo: a higher number plays slower, and a lower number plays faster. Next and Previous still step through the same list, Clear empties the note box, and Show/Hide Keys toggles the key labels.

To write your own music, type or paste a note sequence into the text box and press Play. You can also turn on Note Highlight to see which keys are being played, flip on Reverse Play, or hit Generate a Song to have the piano compose a random piece for you.

Built-in Songs, Song Scripting, and Recording

Twenty-one built-in songs ship with the piano — Für Elise, the Moonlight Sonata, Pachelbel's Canon, Rondo Alla Turca, Toccata and Fugue, Flight of the Bumblebee, The Entertainer, In the Hall of the Mountain King and more. Choose one from the song menu, increase the Tempo number to slow playback, and play along. Song scripting turns simple text into music — each letter maps to a key, so you can share and replay songs as plain text. And the recording tools let you hit Record, perform live or trigger a song, then Stop and Download the result as an audio file to keep or share. If you want to build a drum and bass backing track underneath your piano line, use the standalone ButtonBass step sequencer.

A Few Words on the Piano

The piano was invented in the early 1700s by Bartolomeo Cristofori, whose key innovation — hammers that strike the strings — let players control volume with their touch, something the earlier harpsichord could not do. That dynamic range is what made the piano the centerpiece of Western music for three centuries, equally at home in concert halls, jazz clubs, and bedrooms. Learning even a few notes on it is one of the most rewarding ways to start making music.

Tips for Getting the Most Out of the Virtual Piano

Start by finding a few notes by ear, then pick a built-in song from the song menu and increase the Tempo number to slow playback and follow along with the highlighted keys. Use the keyboard shortcuts rather than the mouse for faster, more rhythmic playing. When you've got an idea, record it before you forget it. Everything runs in your browser, so you can experiment instantly on desktop, tablet, or phone.

More Free Music Tools on ButtonBass

Beyond the piano, ButtonBass offers a growing library of browser-based instruments and games. Explore synthesizers and beat makers, strum the acoustic, electric, and distorted guitars or the bass and banjo, mix loops on 3D cubes like the Dubstep Cube 2, jump into the multiplayer Jam Room, or try rhythm games like Beat Slicer and Piano Drop. Every tool is free, works on any device, and requires nothing more than a modern web browser.

Comments

Privacy Policy