Online Virtual Piano — Free Piano Keyboard with Scales, Chords & Recorder | LazyTools
🎹 Music Tools

Online Virtual Piano — Scales, Chords, Recorder & 6 Voices

A free browser-based piano with 88 keys, computer keyboard mapping, sustain pedal, 6 instrument voices, scale highlighter, chord helper, octave shift, and a built-in note recorder. No download, no signup, no audio files — all sound synthesised in real time with the Web Audio API.

88 keys Scale highlighter Chord helper 6 voices Recorder
ADSENSE — 728×90 LEADERBOARD
🎹 Virtual Piano

Play with keyboard, mouse or touch

Octave
Volume
Scale Highlighter
Chord Helper
Polyphonic • Web Audio API • Synthesised in browser
ADSENSE — 728×90 LEADERBOARD
🥁
Need to keep time while you practise?
The free Online Metronome keeps perfect tempo while you play. Tap tempo, accent beats, subdivisions — all in your browser, no download.
🥁 Online Metronome →
⭐ User Ratings

Rate this tool

4.9
★★★★★
Based on 8,200 ratings
5
7,626
4
328
3
164
2
82
1
0
Did the scale highlighter help you explore a new key?
Thank you for your rating!
✔ Key Features

What makes this virtual piano different from virtualpiano.net and recursivearts

🎵
Scale Highlighter
Choose any root note (C through B) and scale type (Major, Minor, Pentatonic, Blues, Dorian, Mixolydian, Chromatic). Keys in the scale light up blue. Improvise in key instantly without knowing music theory. No free competitor highlights scales on the keyboard.
🎸
Chord Helper
Shows 9 common chords for the selected root key (maj, min, dim, aug, maj7, min7, dom7, sus2, sus4). Click any chord name to hear it and see its keys highlighted green. Perfect for beginners learning chord shapes.
🎼
6 Synthesised Voices
Grand Piano, Electric Piano, Organ, Harp, Strings, and Vibraphone — each with unique oscillator waveforms and ADSR envelopes synthesised by the Web Audio API. No audio samples to download. Instant voice switching.
Built-in Recorder
Click Record, play anything, click Stop. The recorder captures every note with its exact timing. Click Play to hear it back. Polyphonic — records chords as well as single notes. No competitor included in the tool itself.
⌨️
Full Keyboard Mapping
Two-plus octaves mapped to your QWERTY keyboard. A–; plays white keys C4–B4. W E T Y U play black keys. Q–P plays the upper octave. Z–M plays the lower octave. Spacebar sustains. Tab shifts octave.
🎹
Sustain Pedal
Press Space or click Sustain to hold notes ringing after you release the keys. Simulates the damper pedal on a real piano. Essential for smooth chord progressions and legato melodies.
📱
Polyphonic Touch Input
On mobile and tablet, tap multiple keys simultaneously for chords. The piano scrolls horizontally for octave access. Works on iOS Safari and Android Chrome with multi-touch.
🔓
No Download, No Audio Files
All sound is synthesised in real time using oscillators and ADSR envelopes via the Web Audio API. No large audio sample libraries to download. The page loads instantly.
📊
Octave Shift
Click the Up/Down octave buttons or press Tab to shift the keyboard mapping up or down an octave, giving access to all 88 keys. An octave indicator shows the current position in the keyboard range.
📖 How to Use

Getting started with the virtual piano

1
Play a note
Click any key with your mouse, tap on mobile, or press a keyboard key. The A key plays middle C (C4). The S, D, F, G, H, J, K, L keys play D, E, F, G, A, B, C5. W, E, T, Y, U play the black keys.
2
Highlight a scale
Choose a root note and scale type from the Scale Highlighter. Keys in that scale glow blue. Play only the blue keys to improvise in key without any wrong notes.
3
Try a chord
Click any chord name in the Chord Helper (maj, min, dom7 etc.) to hear the chord and see its keys highlighted green. Hold the shown keys to play the chord yourself.
4
Record a melody
Click Record (or press R). Play anything. Click Stop. Click Play to hear it back. The recorder captures exact note timing so chords and rhythms play back perfectly.
5
Change voice & octave
Pick a voice from the dropdown (Piano, Organ, Harp, Strings...). Use Octave Up/Down to shift which range the keyboard keys play, giving you access to all 88 keys.
📊 Comparison

LazyTools vs other free online pianos

FeatureLazyToolsvirtualpiano.netrecursiveartsonlinepianistonline-piano.io
Scale highlighter✅ 7 scales❌ No❌ No❌ No❌ No
Chord helper (hear + highlight)✅ 9 chords❌ No❌ No❌ No❌ No
Built-in recorder✅ Yes✅ Yes✅ Yes✅ Yes✅ Yes
Multiple voices✅ 6 voices❌ Piano only✅ Several✅ 30+ sounds✅ Several
No audio samples download✅ Synthesised❌ Samples❌ Samples❌ Samples❌ Samples
Sustain pedal✅ Space bar✅ Yes✅ Yes✅ Yes✅ Yes
Octave shift✅ Tab key✅ Yes✅ Yes✅ Yes✅ Yes
No signup required✅ Always✅ Yes✅ Yes❌ Account for features✅ Yes
Mobile multi-touch✅ Yes✅ Yes✅ Yes✅ Yes✅ Yes
📋 Music Theory Reference

Piano scales and chords — quick reference for the virtual piano

ScaleIntervals (semitones)Notes in CBest for
Major0-2-4-5-7-9-11C D E F G A BHappy, bright melodies, most popular songs
Natural Minor0-2-3-5-7-8-10C D Eb F G Ab BbSad, emotional pieces, rock, classical
Pentatonic0-2-4-7-9C D E G AImprovisation, no wrong notes, rock solos
Blues0-3-5-6-7-10C Eb F F# G BbBlues, jazz, expressive bends and licks
Dorian0-2-3-5-7-9-10C D Eb F G A BbJazz, funk, minor with brighter feel
Mixolydian0-2-4-5-7-9-10C D E F G A BbRock, country, blues-rock, dominant sound
📐 Guide

Virtual Piano Guide — Scales, Chords, and Getting Started

A virtual piano is a browser-based instrument that lets you play piano sounds using your computer keyboard, mouse, or touchscreen. Unlike apps that require installation, a browser-based virtual piano loads instantly and runs entirely inside your browser using the Web Audio API. Sounds are synthesised in real time using oscillators — no large audio sample libraries need to be downloaded.

How to read the keyboard mapping

The QWERTY keyboard is arranged in rows, which happen to map naturally to the piano layout. The A–; row plays the white keys of the middle octave (C4 to B4). The W, E, T, Y, U keys above it play the black keys in that octave. The Q–P row plays the next octave up. The Z–M row plays the octave below. This gives you comfortable access to two-plus octaves at once. Press Tab to shift the entire mapping up or down an octave to reach higher or lower notes.

Using the scale highlighter to improvise

One of the hardest parts of learning piano is knowing which notes to play and which to avoid. The scale highlighter solves this by lighting up only the keys that belong to the chosen scale. Select C Major, for example, and only the seven white keys in each octave are highlighted. Play any highlighted key in any order and it will always sound musical — you literally cannot play a wrong note within the scale. This is exactly how many beginner-friendly piano apps and learning tools work, but here it is built directly into the keyboard display.

Understanding chord shapes on the piano

A chord is three or more notes played simultaneously. On the piano, the most common chords follow simple patterns. A major chord is the root note, plus 4 semitones up, plus 3 more semitones (intervals: 0, 4, 7). A minor chord replaces the 4 with 3 (intervals: 0, 3, 7). The Chord Helper shows these patterns for any root key and highlights the exact keys to press, so you can learn chord shapes visually before memorising them.

How the Web Audio API synthesises piano sounds

Each voice in this virtual piano uses a combination of oscillator nodes, gain nodes, and ADSR (attack, decay, sustain, release) envelopes created via the Web Audio API. The Grand Piano voice uses a triangle wave with a fast attack and long decay. The Organ holds a continuous tone with no decay. The Harp uses a plucked envelope that fades quickly. The Strings voice has a slow attack to simulate bowing. No pre-recorded samples are used, which means the page loads instantly and works fully offline once cached.

❓ FAQ

Virtual piano — 8 questions answered

A plays C4 (middle C). S, D, F, G, H, J, K, L play D, E, F, G, A, B, C5. W, E, T, Y, U play the black keys. Q-P plays the upper octave. Z-M plays the lower octave. Space = sustain. Tab = shift octave.

The sustain pedal (Space bar) keeps notes ringing after you release the keys. It simulates the damper pedal on a real piano and is essential for smooth, connected playing. Toggle it with the Space bar or the Sustain button.

Grand Piano, Electric Piano, Organ, Harp, Strings, and Vibraphone. Each uses different Web Audio API oscillator waveforms and ADSR envelopes. No audio sample downloads required.

Select a root note and scale type. Keys belonging to that scale light up blue. Play only highlighted keys to always stay in key. Great for improvisation and learning which notes go together.

It shows 9 common chords for the selected root key. Click any chord to hear it and see its keys highlighted green. Helps you learn chord shapes by seeing exactly which keys to press.

Yes. Click Record, play your melody or chords, click Stop, then click Play to hear it back. Every note and its timing are captured, including chords and sustain.

Yes. Tap keys directly on the touchscreen. Multiple keys can be tapped simultaneously for chords. The keyboard scrolls horizontally to reach all octaves. Works on iOS and Android browsers.

LazyTools Virtual Piano is 100% free with no download, no account, and no signup. All sound is synthesised in real time in your browser. No audio files are downloaded.