UtilityBase logoUtilityBase

Productivity Tools

Virtual Piano

A playable 25-key piano — touch, mouse, or QWERTY, synthesized live.

Updated July 10, 2026

How to use the virtual piano

  1. 1Tap, click, or use the letter keys printed on the piano.
  2. 2Z and X shift octaves; the range spans C2–C6.
  3. 3Toggle sustain for connected, pedaled sound.
  4. 4Play chords freely — it's fully polyphonic.

Common uses

  • Picking out a melody stuck in your head
  • Learning the keyboard layout and where the notes live
  • Finding a song's key or checking an interval
  • A quick reference pitch when no instrument is around

Frequently asked questions

How do I play with my computer keyboard?

The home row plays the white keys — A S D F G H J K L and the ; key walk up from C — and the row above supplies the black keys: W E for C#/D#, T Y U for F#/G#/A#, O P continuing into the next octave. The mappings are printed on each key (toggleable), so you learn them by playing. Z shifts the whole keyboard down an octave, X up, from C2 to C6. Chords work: press multiple letters simultaneously, exactly like real keys.

Why does it sound like this rather than a real grand piano?

Because the sound is synthesized in real time — oscillators and filters shaped to behave like a struck string — rather than playing back gigabytes of recorded piano samples. The trade is deliberate: sampled pianos sound richer but need large downloads and licensing; synthesis loads in milliseconds and works offline once the page is open. For what this is for — finding melodies, learning the layout, checking intervals — the synthesis is honest and pleasant. For performance-grade tone, a sampled VST is the right tool.

What does the sustain toggle do?

It mimics a piano's damper pedal: with sustain off, releasing a key stops the note quickly, the way dampers fall back onto strings; with sustain on, released notes ring out over a couple of seconds and overlap into each other. It's the difference between detached playing and the washy, connected sound of pedaled piano. Notes also decay naturally even while held — a struck string always fades — which is a detail cheap virtual pianos skip and your ear notices.

Can I learn actual songs on this?

For melodies, chord progressions, and understanding the keyboard's geography — absolutely, and two octaves covers most melody lines and the letter-key layout is how a whole generation of virtual-piano players learned. Its honest limits: no velocity sensitivity (every note strikes at the same volume, so no dynamics practice), and computer keyboards can miss some 3+ key combinations by hardware design. Treat it as the sketchpad; if playing sticks, weighted keys are where technique actually develops.

About this tool

The virtual piano is a genuinely playable two-octave keyboard — by touch, mouse, or your computer keyboard (the letter mappings are printed on the keys) — with sound synthesized live in your browser: three oscillators per note through a decaying filter, so held notes fade naturally like struck strings. Fully polyphonic for chords, with a sustain toggle, octave shifting across C2–C6 (Z and X keys), adjustable volume, and note names on every key. Because the sound is synthesized rather than sampled, it loads instantly with nothing to download — a practice-and-sketching instrument that's honestly scoped: enough to find a melody, learn the key layout, or work out a song's key.

Like most tools on UtilityBase, the virtual piano runs entirely in your browser — nothing you enter is uploaded or stored on a server. It's free to use with no account required. Browse more productivity tools here.

Was this tool helpful?

Related tools