WaveTinkerbrowser audio studioSearch tools/Chain effects

Virtual Piano (Online Piano Keyboard)

A three-octave virtual piano that plays the moment you click, tap or type. Use the Z and Q rows of your computer keyboard, hold Shift for sustain, label the keys with note names, light up any of 132 piano chords, or plug in a MIDI keyboard.

  • Free, no sign-up
  • Runs on your device
  1. Click, tap or typePlay the keys with a mouse or fingers, or with the computer keyboard: Z to M is the lower octave, Q to U the upper one.
  2. Pick a sound and rangeChoose Piano, Soft keys or Organ, set the volume, and use Octave − and Octave + to move the three octaves up or down.
  3. Show a chordChoose a root and a chord type and press Show and play: the notes light up on the keys and sound one after another.

Updated

Play piano online, right in the page

This online piano opens ready to play: no download, no sign-up and no plug-in. Three octaves are on screen, from C3 to B5 when the page opens, which covers most melodies and the middle of the real instrument. Octave − and Octave + move the whole range down to C1 or up to B7, and the label between the buttons always shows which notes you are looking at.

You can play the keys with a mouse, with one or several fingers on a touch screen, or with the computer keyboard. Sliding a finger or the pressed mouse across the keys plays each one in turn, the way a glissando works on a real piano. When you hold two or more keys, the readout names the chord; with a single key it shows the note and its exact frequency.

It is a free piano in the plain sense: a piano website you can keep open in a tab for practice, teaching or working out a tune, on a laptop, a tablet or a phone turned sideways. A piano, virtual or real, still needs practice, but this one is always within reach.

Playing with your computer keyboard

Two rows of letters act as two octaves of keys. On the bottom row, Z, X, C, V, B, N and M are the white keys from C to B, and S, D, G, H and J above them are the black keys, in the same pattern as on a piano. On the top row, Q, W, E, R, T, Y and U are the next octave of white keys, with 2, 3, 5, 6 and 7 as the black keys. The rows continue a little past the octave, so the comma, period and slash keys and I, O and P keep going upward.

Turn on Keyboard letters and each key shows the letter that plays it. The keys are matched by their position, not by the letter printed on them, so on a QWERTZ or AZERTY keyboard the same places play the same notes and the labels show the US letters for those places. Holding Shift works like the sustain pedal while it is down, and the number keys keep working while you hold it.

A computer keyboard is not velocity sensitive, so every note plays at the same strength. That makes it a good keyboard piano online for learning melodies and chord shapes, though not for expressive dynamics; for those, connect a MIDI keyboard.

Piano notes: finding your way around the keys

The black keys come in groups of two and three, and every white key is named by its place next to them. C is the white key just left of each group of two black keys; F is just left of each group of three. From C the white keys run C, D, E, F, G, A, B, then C again an octave higher. The black keys take the name of a neighbor with a sharp or a flat: the one between C and D is both C sharp and D flat.

The number after the letter is the octave. Middle C, the C nearest the middle of an 88-key piano, is C4, and the A above it, A4, is the 440 Hz note orchestras tune to. When the page opens, C4 is the first C of the middle octave on screen. Turn Note names on to see every white key labeled; the readout shows the name of any black key you press.

If you are learning to read music, these piano notes are the bridge between the staff and your fingers. The treble clef sits mostly from C4 upward, the bass clef from about C2 to C4.

Piano chords, built and shown

A chord is a root plus a fixed pattern of intervals counted in semitones, one key at a time including the black keys. A major chord is the root, 4 semitones up and 7 up: C, E and G. A minor chord lowers the middle note by one semitone: C, E flat and G. A dominant seventh adds 10 semitones above the root, a major seventh adds 11. Because the pattern is fixed, the same shape works from any key.

Under the keyboard, choose a root from the twelve notes and a type from eleven: major, minor, dominant 7th, major 7th, minor 7th, diminished, augmented, sus2, sus4, 6th and add9. Show and play lights the notes on the keys and plays them from the bottom up, so you can see and hear the shape before copying it. That gives you 132 chords on one control, a piano chord chart you can play instead of only read.

The Numbers tab has a printed version: a piano chords chart with the major, minor, dominant 7th and minor 7th chord on every root, spelled the way they appear in written music. Try a classic progression with it, such as C, G, A minor and F, then the same four chords moved to another key. To name a chord you have found by ear, hold the keys and read the readout, or use the chord finder for more detail on inversions and scales.

Sustain, sounds and a MIDI piano online

Sustain lets notes ring after you release the keys, like the right pedal of a piano. Tick the Sustain box to keep it on, or hold Shift for the moments you need it. Releasing Shift lets the held notes die away together.

There are three sounds. Piano is built from decaying harmonics with a short hammer noise, low notes ringing longer than high ones as on a real instrument. Soft keys is a gentle, rounded tone that is easy on the ears for long practice. Organ holds every note at full level until you let go, useful for hearing chords clearly.

Connect a MIDI keyboard and the page becomes a midi piano online: press Connect a MIDI keyboard, allow the browser's request, and the keys and the sustain pedal of your controller play the on-screen piano. Web MIDI works in Chrome, Edge and recent Firefox on desktop; Safari does not offer it, so the button says so there.

How the sound is made, and about delay

The piano is not a recording of a grand. Each note is synthesized from up to seven harmonics whose frequencies are stretched very slightly, as they are on real strings, with the upper harmonics fading faster than the fundamental. That keeps the page small and lets notes start instantly, but it sounds like a clean digital piano rather than a concert instrument.

If notes seem late, the cause is almost always the audio output. Bluetooth headphones and speakers add a delay you can feel when playing, often a fifth of a second or more. Wired headphones or the device's own speakers are much quicker. On some phones the first note after opening the page is slower while the audio system wakes up.

This piano simulator also stays polite with many notes: a limiter keeps loud chords with sustain from distorting.

Ways to practice with it

To play a melody by ear, sing or hum it into the pitch detector, which writes out the notes it hears, then find them on the keys here. For timing, open the metronome in another tab and play piano online along with the click at a slow tempo before speeding up. To understand why some chords sound good together, the circle of fifths shows the seven chords of each key.

It also works as an online keyboard piano for teachers: on a projector, with note names turned on, a class can see exactly which keys make a chord. Whether you call it a virtual keyboard piano, a keyboard piano online or a free online piano keyboard, it is the same instrument, and it plays piano online keyboard, mouse or touch, whatever you have.

If you want a virtual piano online for composing, keep in mind that this page does not record what you play. Use it for practice and working things out, and record on a real instrument or in a music app when the idea is ready.

Private by design

The sound is synthesized on your device. Key presses, including those from a MIDI keyboard, go only to the page that plays them and are never stored or sent anywhere.

Frequently asked questions

Can I play this virtual piano with my computer keyboard?

Yes. On the bottom row, Z to M are the white keys of the lower octave, with S, D, G, H and J as the black keys. On the top row, Q to U are the white keys of the upper octave, with 2, 3, 5, 6 and 7 as the black keys. Turn on Keyboard letters to see each letter on its key, and hold Shift for sustain.

Is this free piano online really free?

Yes. It is a free virtual piano keyboard online with no account, no download and no time limit. The sound is generated in your browser, so it keeps working as long as the page is open.

How do I play piano chords?

Choose a root and a chord type under the keyboard and press Show and play: the notes light up and play from the bottom up, so you can copy the shape. A major chord is root, plus 4 and plus 7 semitones; minor is root, plus 3 and plus 7. The Numbers tab has a chart of the common chords on every root.

Where is middle C on the piano?

Middle C is C4, the C closest to the middle of a full 88-key piano. On the keyboard here it is the first C of the middle octave when the page opens. Every C is the white key directly to the left of a group of two black keys.

Can I connect a MIDI keyboard?

Yes, in Chrome, Edge and recent Firefox on a computer. Plug in the keyboard, press Connect a MIDI keyboard and allow the browser's prompt. Keys and the sustain pedal then play the on-screen piano. Safari does not support Web MIDI.

Why is there a delay when I play?

Usually the audio output is the cause: Bluetooth headphones and speakers add noticeable latency. Wired headphones or the built-in speakers respond much faster. On some phones the very first note is slower while the audio system wakes up; after that it should be immediate.

Can I record what I play?

Not on this page. The virtual piano is for playing, practicing and working out chords and melodies; it does not save or record. To keep an idea, record yourself on another device or in a music app.

Piano chords chart

The notes of the four most used chords on every root. Choose a chord under the keyboard to see it lit up:

Music theory: major = root + 4 + 7 semitones, minor = root + 3 + 7, dominant 7th adds 10, minor 7th = 0 3 7 10. Spelled by letter as in written music (Db major is Db F Ab, C# minor is C# E G#); the keyboard labels name each key once.
RootMajorMinorDominant 7thMinor 7th
CC E GC Eb GC E G BbC Eb G Bb
C#/DbDb F AbC# E G#Db F Ab CbC# E G# B
DD F# AD F AD F# A CD F A C
EbEb G BbEb Gb BbEb G Bb DbEb Gb Bb Db
EE G# BE G BE G# B DE G B D
FF A CF Ab CF A C EbF Ab C Eb
F#F# A# C#F# A C#F# A# C# EF# A C# E
GG B DG Bb DG B D FG Bb D F
G#/AbAb C EbG# B D#Ab C Eb GbG# B D# F#
AA C# EA C EA C# E GA C E G
BbBb D FBb Db FBb D F AbBb Db F Ab
BB D# F#B D F#B D# F# AB D F# A

Tools that pick up where this one stops.