Online Piano Keyboard (Free)
Play a two-octave piano right in your browser with your mouse, touch screen or computer keyboard, or connect a MIDI keyboard.
Loading the tool...
What you can do
- Play with the computer keyboard: Z–M for the lower octave, Q–U for the upper octave
- Shift octaves, turn on sustain and set the volume
- Show note names as C D E or Do Re Mi
- Record what you play and listen back
- Connect a USB or Bluetooth MIDI keyboard (Chrome and Edge)
When to use it
- Pick out a melody you have in your head: click the keys, switch Note names to Do Re Mi if that is how you think of notes, and move up or down with the Octave buttons.
- Practise on a laptop with no keyboard attached: play the lower row with Z S X D C V G B H N J M and the upper row with Q 2 W 3 E R 5 T 6 Y 7 U, with sustain on for longer notes.
- Check a USB or Bluetooth MIDI keyboard: press Connect MIDI keyboard in Chrome or Edge, allow access and play to see the keys light up.
- Sketch a quick idea: press Record, play your phrase, stop, and play it back to hear how it sounded.
How to use
- Click or tap the keys, or use the keyboard letters printed on each key.
- Use Octave ▼ / ▲ to move the range.
- Press Record, play, then Stop recording and Play recording to listen back.
How it works
Notes are synthesized in real time with Web Audio oscillators, so no sound samples are downloaded, and a MIDI keyboard works through the Web MIDI API in supporting browsers. Recordings of what you play stay in the page and are not uploaded.
Your files are processed in your browser and are not uploaded to a server. You can check this yourself.
Good to know
- The sound is synthesized in your browser, so no sample files are downloaded. The tone is simpler than a real piano.
- Nothing you play is uploaded anywhere.
For developers: Tools That Don't Upload offers a REST API with a free tier (usage limits apply) for data, text, code, PDF and web tasks. Audio processing is not part of the API.
FAQ
Can I play with my computer keyboard?
Yes. Z S X D C V G B H N J M play the lower octave and Q 2 W 3 E R 5 T 6 Y 7 U play the octave above.
Does it work with a MIDI keyboard?
Yes, in browsers that support the Web MIDI API, such as recent Chrome and Edge. Press Connect MIDI keyboard and allow access.
Can I record what I play?
Yes. Record, play, stop, then play it back. The recording stays in this page only.
Can I switch note names to Do Re Mi?
Yes. Use the Note names switch to choose C D E or Do Re Mi.
Why does it sound different from a real piano?
The sound is synthesized live instead of using recorded samples, which keeps the page light and fast.
Is my playing uploaded?
No. Sound is generated in your browser and recordings stay on this page.
Does it work on a phone or tablet?
Yes. You can tap the keys on a touch screen, so you do not need a computer keyboard.
Can I save my recording as an audio or MIDI file?
No. A recording can be played back inside the page only, and it is gone when you close or reload the tab.
More free tools
Melody to MIDI
Turn singing, whistling or a single line into MIDI notes.
Music & notationMetronome
Keep time and tempo while you practice.
PopularGuitar Tuner (Ukulele · Bass)
Tune strings with your mic.
PopularSpeed & Pitch Changer
Change speed only or change pitch only, independently.
Vocal Range Test
Measure your lowest to highest note with your mic.
New