Virtual Piano: Online Piano Keyboard
Play notes and chords with your computer keyboard or your mouse. Free, no sign-up, and it plays your USB MIDI keyboard straight in the browser.
No account · nothing leaves your browser · MIDI ready
- Up to 49 keys
- 4 sounds
- USB MIDI in
- Live grand staff
Play with the computer keyboard: the bottom row plays the white keys and the row above it plays the sharps.
How to play
- Tap a key, or press Z X C V on a keyboard. The row above plays the sharps.
- Hold two keys to hear an interval, three for a chord. The staff and the chord name follow along.
- Connect a USB MIDI keyboard and it is picked up on its own, velocity and all.
Learn
Read the full guideScales and ChordsMajor, minor, triads, sevenths7 min readScales and ChordsDiscover the building blocks of music - scales and chords that form melody and harmony.
Scales and Chords
Discover the building blocks of music - scales and chords that form melody and harmony.
Major scales
Major scales have a bright, uplifting sound. Each one follows the same interval pattern: whole - whole - half - whole - whole - whole - half.
C major
C - D - E - F - G - A - B - C
G major
1♯G - A - B - C - D - E - F# - G
D major
2♯D - E - F# - G - A - B - C# - D
F major
1♭F - G - A - Bb - C - D - E - F
Major scale pattern
All major scales follow this interval formula:
Related tools
Frequently asked questions
- How do I play notes?
- Click a key with the mouse, tap it on a touch screen, or use the computer keyboard: the bottom row (Z X C V…) plays the white keys and the row above (A S D F…) plays the sharps. Hold a key down and the note holds with it.
- Can I play chords?
- Yes. Click several keys at once, or hold one and click another. For chord theory and inversions, the Chord Library has every voicing drawn on a piano keyboard.
- Where can I learn scales on piano?
- The Scale Library shows every scale in every key with the notes lit on a piano keyboard, the formula, diatonic chords and audio playback ascending or descending.
- Why does the sound feel a bit synthetic?
- The piano plays real recordings, not synthesised tones: it uses the Salamander Grand Piano, a Yamaha C5 sampled every minor third and released under CC BY 3.0. Each sample is fetched only when a note needs it, so nothing loads up front. The synthesised voice is still there as a fallback if a file cannot be reached, and the Synth instrument is synthesised by design.