Virtual piano online
A full 88-key piano in your browser. Play with your mouse, fingers or computer keyboard — the chord you’re holding is named as you play.
From keys to theory
Every chord and scale you meet in a theory book is a shape on these keys. PianoForge is built around that idea: you play first, then the page tells you what you played and why it sounds that way.
- Chord progression generatorPick a key, stack chords by Roman numeral, hear the loop and ask the tutor why it works.
- Chords in a keyAll seven chords and 7th chords of every major and minor key, with progressions.
- Piano chords chart216 chords with notes, formulas and every inversion drawn on the keys.
- Chord finderPress the notes you’re holding; get the chord name, inversion and slash chord.
- Scale explorerMajor, minor, modes, pentatonic and blues in all 12 keys, with the chords that live in each.
- Circle of fifthsTurn the wheel: key signatures, relative minors and neighbouring keys at a glance.
- Ear trainingInterval, chord and scale quizzes that keep your score in your browser.
- Melody generatorSketch a tune on a piano roll or let it generate one in your key, then export MIDI.
Finding your way around 88 keys
The black keys come in groups of two and three. The white key just left of each pair is C; the one left of each trio is F. Once you can find C, every other note follows alphabetically: C D E F G A B, then C again an octave higher.
The C closest to the middle of a full piano is middle C (C4), and the A above it vibrates at 440 Hz — the pitch orchestras tune to. Each octave doubles the frequency, and it is divided into 12 equal half steps, which is why there are 12 keys (7 white, 5 black) before the pattern repeats.
New to note names? The labelled piano notes chart walks through them, and the intervals explainer shows how distances between keys become melody and harmony.
Questions
How do I play the virtual piano with my computer keyboard?
The bottom letter row plays the lower octave: Z is C, S is C♯, X is D, D is D♯, C is E, V is F and so on up to the slash key. The top row (Q, 2, W, 3, E, R…) plays the octave above. Use the − and + buttons to shift both rows by an octave, and hold the space bar as a sustain pedal.
Does this online piano have all 88 keys?
Yes. Choose "All 88 keys" in the Keyboard menu to get the full range of an acoustic piano, from A0 to C8. On phones the 88-key view scrolls sideways; the 2- and 3-octave views fit the screen so the keys are big enough to tap.
Can I play chords on it?
Yes — hold several keys (or tap them with several fingers) and the chord is named above the keyboard, including inversions such as C/E. Use "Show on keys" to light up any chord or scale so you can see where your fingers go.
Why is there no sound?
Browsers only allow audio after you interact with the page, so the first key press starts the sound engine. On iPhone, check that the silent switch is off — iOS mutes web audio in silent mode.
Can I record what I play?
Press Record, play, then Stop. Play back replays your take with the original timing. The last take is saved in your browser (localStorage) so it’s still there next visit; nothing is uploaded.
Is this virtual piano free?
Yes. Every tool on PianoForge is free, runs in your browser and needs no account, download or plug-in.
Can I connect a MIDI keyboard?
Yes, in Chrome, Edge and Opera on desktop and Android: plug in a USB MIDI keyboard and press “Connect MIDI keyboard”. Notes and the sustain pedal play the on-screen piano and the chord name updates as you play. Safari and Firefox on iOS don’t support Web MIDI.
Is a virtual piano easier than a real piano?
It’s easier to start — there’s nothing to buy and the keys are labelled — but a mouse or computer keyboard can’t give you real fingering or touch. Use it to explore notes, chords and scales, and move to a real or digital keyboard (or connect a MIDI keyboard here) to build technique.
Is there a metronome?
Yes. Turn on the metronome under the keyboard and set the tempo from 40 to 220 BPM; the first beat of each bar is accented.