Virtual online piano

Play melodies and chords right in your browser using your computer keyboard, mouse, or touchscreen. Shift octaves across C2–B7, toggle sustain to let harmonies ring, and switch between C D E and Do Re Mi labels.

Free · Synthesized live in your browser · No microphone or upload

How it works

  1. 01

    Pick key labels & octave

    Toggle C D E or Do Re Mi on the keys and set your starting octave (default C4–B5).

  2. 02

    Play notes or chords

    Click, tap with multiple fingers on mobile, or type on keys A W S E D F T G Y H U J K O L P ;.

  3. 03

    Add sustain for harmony

    Switch Sustain on so chords ring naturally while you move to the next progression.

Keyboard layout, octaves & sustain

  • Two full playable octaves (24 keys, default C4–B5) with multi-harmonic Web Audio piano synthesis.
  • Computer keyboard mapping: home row A–K (plus L and ;) for white keys and W E T Y U O P for sharps/flats.
  • Octave shift buttons spanning five positions from low C2–B3 up to sparkling C6–B7.
  • Sustain pedal toggle extends note decay so chords ring smoothly while your fingers move.
  • Switch key markings between scientific letter names (C D E) and solfege (Do Re Mi) with a last-note readout.

Keyboard shortcuts & practicing chords on a laptop

Place your left hand over A S D F (C–F) and your right hand over G H J K L ; (G–E), using the top row W E T Y U O P for black keys. That spans an octave plus a major third without shifting octaves — enough for simple triads like C (A, D, G), F (F, H, K), and G (G, J, L).

Standard laptop keyboards sometimes suffer from key-rollover limits (ghosting) when pressing four or more keys simultaneously. Turning on Sustain lets you arpeggiate wider chords cleanly, or you can use multi-touch on a phone or tablet screen to press full chords at once.

Frequently asked questions

Why do some 4-note chords drop a key on my computer keyboard?

Most non-gaming laptop keyboards share electrical key matrices that limit simultaneous keypresses (2-key or 3-key rollover). Toggle Sustain on and roll the chord notes quickly, or play chords directly on a touchscreen.

Can I connect a USB MIDI keyboard to this piano?

Not yet — input currently supports computer keyboard shortcuts, mouse clicks, and multi-touch screens.

What is the easiest way to play a song in C major on computer keys?

Paste any song chart into the chord transposer and shift it to C major or A minor so almost every chord lands on the white keys (A S D F G H J K). You can also grab fresh chord ideas from the chord progression generator.

How do I check the exact Hz or MIDI number of a key I am playing?

Each white key displays its scientific pitch name (like C4 for middle C) in C D E mode; look up its matching Hz and MIDI number on the note frequency chart.

Updated

Related audio tools

Practicing or sketching song ideas?

Turn a rough melody idea or lyric draft into a full arrangement when inspiration hits.