Online Piano
Play the piano in your browser with your computer keyboard, the mouse or several fingers on a touch screen. Switch between piano, electric piano, organ and music box, hold notes with the sustain pedal, record what you play with a metronome, and download it as WAV or MIDI or share it as a link. For drums, try the Beat Maker.
- Runs in your browser
- Your input is never uploaded
- No sign-up
- Works offline after first visit
Keys Z…M and Q…I play notes (black notes on the row above) · Space sustain · ← → octave · press lower on a key to play louder.
Record
No takes yet. Press Record, play something, then press Stop. Your last 10 takes are kept in this browser.
How to play the online piano
- Click or tap a key to hear it. On a touch screen you can play chords with several fingers and slide along the keys for a glissando. Pressing lower down on a key plays it louder, near the top softer, like a real key.
- Use your computer keyboard for faster playing: the bottom letter row is the lower octave and the top row the upper one, with the black notes on the row above each (see the map below). Turn on Key letters to see them on the keys.
- Hold Space (or press Sustain) to keep notes ringing after you let go, like the right pedal of a piano.
- Change octave with the − / + buttons or the ← → arrow keys. On a phone one octave fits on the screen; turn the phone sideways for more.
Computer keyboard map
| Lower octave, white keys (C D E F G A B) | Z X C V B N M, then , . / |
|---|---|
| Lower octave, black keys (C# D# F# G# A#) | S D G H J, then L ; |
| Upper octave, white keys | Q W E R T Y U, then I O P [ ] |
| Upper octave, black keys | 2 3 5 6 7, then 9 0 = |
| Sustain pedal | Space (hold) |
| Octave down / up | ← / → |
| Louder note | Shift + note key |
The keys are matched by their position, not the letter printed on them, so the layout works the same on QWERTY, AZERTY and QWERTZ keyboards. Typing in the BPM box doesn't play notes.
The sounds
- Piano: a bright, short-decaying piano with a soft hammer at the start of each note. Hold the sustain pedal for a fuller sound.
- Electric piano: the bell-like tone of 70s electric pianos, made with FM synthesis. Great for soul, jazz and lo-fi chords.
- Organ: drawbar organ with a rotating-speaker wobble. The notes sound for as long as you hold them.
- Music box: small, glassy and sweet; best in the higher octaves.
Reverb adds the sound of a room around the notes; Delay adds echoes. Each sound starts with its own amount, and you can change both.
Recording, takes and downloads
- Record starts a take; press it again to stop. Turn on the Metronome to play in time, and Count-in to get four clicks before recording starts.
- Quantise moves each note to the nearest 1/8 or 1/16 note at your tempo, which tidies up timing for a MIDI file. Undo takes it back.
- The last 10 takes are kept in this browser as notes (not audio), so they take almost no space. Click a take to choose it.
- WAV is the finished sound with your volume, reverb and delay, ready for a video, a DAW or a phone.
- MIDI holds the notes, their timing and how hard each was played, so you can open your take in GarageBand, FL Studio, Ableton Live, Logic, LMMS or MuseScore and play it with any instrument. Sustain pedal time is already part of each note's length.
- Share link puts the whole take into the link. Nothing is uploaded: whoever opens it gets your take in their list, ready to play.
Questions
Are these recordings of a real piano?
No. Every sound is made in code with the Web Audio API (layered oscillators, filters and envelopes), with no recorded samples. That is why the page loads instantly and works offline. It won't fool a concert pianist, but it is great for practising, working out a melody or sketching an idea.
Why is there a small delay between pressing a key and hearing it?
Most computers respond within a few milliseconds. Some Android phones add a noticeable delay between a tap and the sound, and Bluetooth headphones add more on every device. Wired headphones or the built-in speaker give the quickest response.
Can I connect a USB MIDI keyboard?
Not yet: MIDI keyboard support is coming in a later update. You can already download your takes as MIDI files.
Is anything uploaded?
No. Everything runs in your browser. Your settings and takes are saved only on this device, and you can delete them on the privacy page.
Privacy and browser support
Privacy and processing
Everything you type, paste or open is processed by JavaScript in this browser tab. The tool itself makes no network requests, so your input is never sent to DevToolbox or to anyone else.
Settings and saved work stay in this browser only. The privacy policy lists everything the site stores and lets you delete it.
Browser support
Works in current versions of Chrome, Edge, Firefox and Safari, on desktop and on phones.
After your first visit the site can keep an offline copy, so this page also works without a connection.