Skip to content

Online piano

A virtual piano with the sound of a real concert grand. Play it with your computer keyboard, touch screen or a MIDI keyboard, learn songs with falling notes, explore scales and chords, train your ear and jam over rhythms like an arranger keyboard.

Share
  • Processed on your device
  • Free, no sign-up
  • No watermarks
  • No file size caps
—
Play a key, a chord or start a song
Sustain● REC
Volume
Reverb
Octave
0
Transpose
0
Touch
Key labels
Note names
Keys

Z…/ and Q…] play notes · Space sustain · ← → octave · ↑ ↓ transpose

Piano sound: Salamander Grand Piano by Alexander Holm, CC BY 3.0

Your file stays on this device. Processing happens in this browser tab and is erased when you close it.

How to play piano online

  1. Pick a sound. The Grand piano is selected by default. The first time, its samples (about 5 MB) load once, with a progress bar.
  2. Play. Click or tap the keys, use your computer keyboard, or connect a MIDI keyboard with MIDI keyboard. Striking lower on a key plays louder, just like pressing harder.
  3. Hold notes. Keep the space bar down or switch on Sustain, the same as the right pedal of a real piano.
  4. Adjust the keyboard. Change Volume and Reverb, shift the Octave, Transpose from −12 to +12 semitones, and choose 25, 37, 49, 61 or 88 Keys. The arrows beside the keyboard move the visible range; middle C (C4) is marked with a dot.
  5. Show note names. Under Key labels, choose Notes, Keys (the letters of your computer keyboard) or Off, and switch Note names between C D E and Do Re Mi.
  6. Learn or jam. Open Learn songs, Scales and chords, Ear training or Rhythms when you want more than free play.

The display above the keys works like the screen of a keyboard: it shows the note you play with its octave (C4, Do4), the name of the chord you hold, and for two notes the interval and the number of semitones between them.

Eight sounds, from concert grand to church organ

SoundWhat it is
Grand pianoReal recorded Yamaha C5 concert grand, two velocity layers
Electric pianoWarm 70s keys
Jazz organDrawbars with rotary (Leslie-style) effect and key click
Church organPipe organ
AccordionMusette reeds
StringsString ensemble
HarpsichordBaroque harpsichord
Soft padAmbient synth pad

As on a real grand, the top octave and a half have no dampers, so those notes ring on after you let go. On the computer keyboard, Touch sets how loud you play: Soft, Medium or Hard, because a letter key cannot sense how hard you hit it.

Keyboard, touch screen or MIDI keyboard

The computer keyboard uses physical key positions, so the same rows work on QWERTY, QWERTZ, AZERTY and Turkish Q layouts; in Chrome and Edge the labels even show your own layout’s characters. On a phone or tablet you can press several keys at once for chords and slide a finger across the keys for a glissando. With a MIDI keyboard you get proper velocity and your own sustain pedal.

Learn piano online: songs, scales, chords and your ear

Learn songs has ten public-domain and traditional melodies, rated from one to three dots: Twinkle, Twinkle, Little Star, Mary Had a Little Lamb, Frère Jacques, Au clair de la lune, Ode to Joy, Jingle Bells, Happy Birthday, the Canon in D theme, the Minuet in G and the opening of Für Elise. Notes fall towards the keyboard (teal for white keys, amber for black keys, with the note name on each bar) after a two-beat count-in.

  • Listen plays the melody and lights the keys.
  • Practise waits until you press the glowing key. The next right note is accepted at any moment, so you learn the notes first and timing later. Wrong keys are counted, and at the end you see your accuracy and up to three stars (95 % or more for three, 80 % for two, 50 % for one).
  • Speed slows a song down to 40 % or speeds it up to 130 %. The songs are right-hand melodies.

Scales and chords lights up any of 11 scales or 19 chord types from any of the 12 roots, with scale degrees on the keys (1, ♭3, 5…) and the root in gold. You also see the note names and the formula: whole and half steps for scales, degrees for chords. Hear it plays the scale up and down, or the chord. Hicaz and Kürdi are 12-tone approximations: real makams use microtones a piano cannot play.

Ear training has three games: Find the note (a name appears, find it in any octave), Hear and find (a note is played; Play again repeats it) and Intervals (two notes in a row, pick one of twelve intervals). Easy mode uses only white keys, or only the common intervals. Your score, streak and best streak are kept in the browser.

Rhythms and auto accompaniment

The Rhythms tab turns the piano into an arranger keyboard. Choose a Rhythm style: Pop 8 beat, Ballad, Rock, Disco, Waltz (3/4), Bossa nova, Slow 6/8, Roman 9/8 (2+2+2+3) or Çiftetelli. Each style has synthesised drums, a bass line and chord accompaniment on piano, organ, electric piano, accordion or strings.

With Auto accompaniment on, the keys up to F♯3 (shaded green) choose the chord: one key gives a major chord, root plus minor third a minor chord, root plus flat seventh a seventh chord, or play any full chord. It keeps playing until you change chord. Sync start starts the rhythm with your first left-hand chord, Fill-in plays a one-bar drum fill, and A / B switch between a simple and a busier variation. Set the Tempo from 40 to 220 BPM and balance the Rhythm volume.

Prefer just a click? The Metronome offers 2/4, 3/4, 4/4, 6/8 and 9/8 with an accented first beat and shares the same tempo.

Record, download and keep going

Record captures everything you hear in real time. Download WAV or MP3, or MIDI with only your notes and the sustain pedal, at the current tempo. Your settings (sound, labels, size, style, tempo) are remembered in this browser.

Frequently asked questions

How do I play piano online with my computer keyboard?
The bottom letter row (Z to /) plays from C3 and the top row (Q to ]) continues from C4, so you get two and a half octaves under your fingers. Hold the space bar for Sustain, use ← → to change octave and ↑ ↓ to transpose. Set Key labels to Keys to see which letter plays which note.
Is the piano sound real or synthesised?
The Grand piano is the Salamander Grand Piano, recordings of a real Yamaha C5 concert grand made by Alexander Holm and released under CC BY 3.0. Each note has a soft and a loud recording, blended by how hard you play. The other seven sounds are synthesised in your browser.
Can I connect a MIDI keyboard?
Yes, in Chrome, Edge and Firefox. Plug in a USB or Bluetooth MIDI keyboard and click MIDI keyboard. Velocity and the sustain pedal (CC64) work. Safari does not support Web MIDI, so on a Mac or iPhone use one of the other browsers or play with the mouse, touch screen or computer keyboard.
Can I learn piano online with this tool?
It is a good place to start. Learn songs teaches ten melodies with falling notes and a practice mode that waits for the right key, Scales and chords shows any scale or chord on the keys, and Ear training drills note names, hearing and intervals. It teaches notes, not timing or hand position, so it complements lessons rather than replacing them.
Why does the piano react a little late?
Browser audio always adds a small delay, and Bluetooth headphones add much more. For playing, use wired headphones or your computer’s speakers.
Why do some keys not sound when I press many at once?
Most computer keyboards can only register a few keys at the same time (known as ghosting), so some three- or four-note chords simply never reach the browser. That is a hardware limit. A MIDI keyboard, or the mouse and touch screen, has no such limit.
Can I save what I play?
Yes. Click Record, play, then stop. You can listen back and download a WAV or MP3 file with everything you heard, rhythms included, or a MIDI file with the notes you played for MuseScore, GarageBand, FL Studio and other music software.
Is it free and does it work offline?
It is free and needs no account or sign-up. Everything runs in your browser and nothing you play is uploaded. Once the page and the piano samples (about 5 MB) have loaded, it keeps working without a connection.