Home › Audio & Video › Online Piano

Online Piano

Play a realistic-sounding piano right in your browser. Click or tap the keys, or play with your computer keyboard, hold Space for the sustain pedal, then record your performance, play it back and download it as a WAV file.

Last updated:

Octave
C3 – C6

Ready to play Keyboard: Z–M lower octave, Q–U upper, hold Space for sustain, ←/→ octave.

Press Record, play something, then press Stop.
Advertisement

How to use the Online Piano

  1. Click or tap a key to start the sound (browsers need one tap before they play audio).
  2. Play with your keyboard: the bottom row Z to M plays the lower octave (S, D, G, H, J are the black keys), and Q to U plays the next one up (2, 3, 5, 6, 7 are black keys).
  3. Hold Space for the sustain pedal, or press the Sustain button to latch it. Use the arrow keys or the Octave buttons to move up or down.
  4. Press Record, play, then press Stop. Press Play to hear it back.
  5. Download WAV to save your recording as an audio file.

Computer keyboard to piano key chart

The keys are laid out like a piano: one row of letters for the white keys and the row above it for the black keys. The lowest C on screen is on Z; the next C up is on Q (and also on the comma key).

NoteCC♯DD♯EFF♯GG♯AA♯B
Lower octaveZSXDCVGBHNJM
Upper octaveQ2W3ER5T6Y7U
Top (continues)I9O0P[=]

With the default range C3 to C6, Q is middle C (C4) and Y is A4, the 440 Hz tuning note.

Note frequencies

Pianos use twelve-tone equal temperament: every semitone multiplies the frequency by the twelfth root of 2 (about 1.0595), and every octave doubles it. The formula for MIDI note number n is f = 440 × 2(n − 69) / 12 Hz.

NoteMIDIFrequencyNoteMIDIFrequency
A0 (lowest piano key)2127.50 HzC4 (middle C)60261.63 Hz
C23665.41 HzE464329.63 Hz
C348130.81 HzG467392.00 Hz
A357220.00 HzA4 (concert pitch)69440.00 Hz
C572523.25 HzC8 (highest piano key)1084186.01 Hz

Easy songs to try

  • C major scale: Q W E R T Y U I (C D E F G A B C).
  • C major chord: press Q, E and T together (C, E, G). For A minor press Y, I and P (A, C, E).
  • "Twinkle, Twinkle, Little Star": Q Q T T Y Y T · R R E E W W Q.
  • "Ode to Joy": E E R T T R E W Q Q W E E W W.
  • Chord progression I–V–vi–IV in C: C (Q E T), G (W T U), Am (Y I P), F (R Y I).

Frequently asked questions

How do I play the piano with my computer keyboard?

The bottom letter row Z X C V B N M plays the white keys of the lower octave from C to B, with S D G H J as the black keys. The top letter row Q W E R T Y U plays the next octave up, with the number keys 2 3 5 6 7 as black keys, and I O P [ ] continue higher. The letters are printed on the keys.

Why is there no sound?

Browsers block audio until you interact with the page, so click or tap a key first. Also check that your device is not muted, the volume slider is up, and no other app is holding the audio output.

Can I play chords?

Yes. You can press several computer keys at once, use several fingers on a touch screen, or hold notes with the sustain pedal. Some computer keyboards cannot register more than 3 or 4 keys at the same time (key rollover), which is a hardware limit.

How does the sustain pedal work?

While the pedal is down, notes keep ringing after you let go of the keys and fade naturally. Releasing the pedal stops them, just like the right pedal on a real piano. Hold Space for a momentary pedal or press the Sustain button to keep it down.

How do I save what I played?

Press Record, play, then Stop. Download WAV renders your performance, including sustain and reverb, into a 44.1 kHz 16-bit stereo WAV file you can open in any audio app. The recording also stays in this browser until you clear it.

Is this a real piano sample?

No. The sound is synthesized live from a set of harmonic partials with a hammer attack, a filter that mellows the tone as it decays, and a decay time that is longer for low notes, similar to real strings. It loads instantly and works offline.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Online MetronomeKeep time with BPM control and tap tempo.Tone GeneratorPlay any frequency with different waveforms.Chromatic TunerTune any instrument or voice: detects every note from C0 to C8.Guitar TunerTune your guitar with your microphone, in standard or alternate tunings.8D Audio ConverterMake any song 8D: sound circles around your head with reverb. Preview live, save MP3 or WAV.Audio to Sheet MusicTranscribe a melody or simple piano recording into sheet music; save as PDF, MIDI or MusicXML.Auto-Tune VoicePitch-correct singing to a key and scale, from natural to robotic T-Pain style, with a pitch graph.Backing Track GeneratorMake jam tracks from any chord progression: drums, bass and chords in any key and tempo.Ukulele TunerTune a ukulele to GCEA, low G, baritone DGBE or D tuning by microphone.Violin TunerTune your violin with the microphone: G D A E with a cents meter and reference tones.Bass TunerTune 4, 5 and 6-string bass guitars with your microphone, reference tones and drop D.BPM FinderFind the tempo of any song: analyze an audio file for its BPM or tap along to the beat.BPM to MS CalculatorNote lengths in milliseconds and Hz for any tempo: straight, dotted and triplet delay times.Note Frequency CalculatorConvert notes to Hz and Hz to the nearest note with cents, MIDI number and adjustable A4.Banjo TunerTune a 5-string banjo with your microphone in Open G, Double C, Open D and more.Ear TrainingInterval, chord and scale recognition drills with levels, scoring, streaks and weak-spot stats.Guitar Chord Diagram MakerDraw guitar chord box diagrams with fingers, barres and muted strings; export PNG or SVG.Guitar Fretboard TrainerLearn every note on the guitar neck: quizzes, scale and arpeggio overlays, alternate tunings, sound.Online GuitarPlay a virtual guitar: strum chords with your keyboard or mouse, pick notes on a real fretboard.Tanpura DroneEndless tanpura or shruti drone in any key with Pa, Ma or Ni tuning, tempo and jawari for riyaz.Virtual Drum KitPlay a drum set with your keyboard or touch pads, then record a beat, play it back and save it.Vocal Range TestSing your lowest and highest notes to find your vocal range and closest voice type.432 Hz ConverterRetune any song from A=440 Hz to 432 Hz (or 444, 528…) with a precise pitch shift; save MP3 or WAV.Capo CalculatorSee the real chords your capo shapes make, or find the best capo fret and shapes for a key.Chord Progression GeneratorGenerate chord progressions by key, mode and mood, hear them on piano or guitar and export MIDI.Guitar Tab MakerWrite guitar tabs by clicking a fretboard or typing text, hear them played back, save TXT or PDF.Music Streaming Royalty CalculatorEstimate streaming royalties by platform after distributor fees and splits, or streams needed.Online DJ MixerTwo-deck DJ mixer for your own audio files: BPM sync, EQ, crossfader, loops, cues and mix recording.Online LaunchpadPlay an 8x8 beat pad with drum, synth and vocal kits, loops, your own samples and WAV recording.Piano Chord ChartEvery piano chord on a keyboard diagram with notes, fingering, inversions and sound.Singing Pitch TrainerSing into your mic and see your pitch on a piano roll against target notes, with cents and a score.Ukulele Chord ChartUkulele chord diagrams with finger numbers, several shapes, strum sound and printable charts.Camelot WheelInteractive Camelot wheel: click a key to see harmonic mixes, convert keys to Camelot and Open Key.Chord Chart MakerTurn lyrics with chords into clean printable chord sheets; transpose, add chord diagrams, export PDF.Guitar Amp SimulatorPlay your guitar through amp models, cabinet, delay, reverb and noise gate right in your browser.Music Interval CalculatorName the interval between two notes, or find the note a given interval above or below.Piano Letter Notes PlayerPaste piano letter notes or virtual piano sheets and hear them played with key highlighting.LRC Lyrics MakerMake synced .lrc lyrics: play a song, tap to timestamp each line or word, preview and download.Tempo Change CalculatorConvert a BPM change to percent speed, semitone and cents pitch shift and new song length.Transposing Instrument CalculatorConvert notes and keys between concert pitch and B♭, E♭, F and A instruments, both ways.CPR Metronome110 BPM CPR compression metronome with 30:2 cycle counter, breath pauses and voice prompts.Calming Music for DogsEndless slow, soothing music for anxious dogs and cats, with sleep timer and gentle fade-out.Mindfulness BellGentle bell chimes at fixed or random intervals through the day, with quiet hours and prompts.Melody GeneratorGenerate random melodies in any key and scale over a chord progression; play and export MIDI.MIDI to Sheet MusicTurn a MIDI file into readable sheet music and download it as PDF, PNG or MusicXML.Music Theory QuizQuiz yourself on note names, key signatures, intervals, chords and scales with staff and keyboard.Polyrhythm MetronomePractise 3:2, 4:3, 5:4, 7:4 and other polyrhythms with distinct sounds and a circular visualizer.Song Practice PlayerSlow down songs without changing pitch, transpose, A-B loop and speed up gradually as you learn.
See all 56 Music Theory & Instruments →