Virtual Piano Keyboard

Play a 2-octave piano using your mouse or computer keyboard. Multiple waveforms, sustain toggle, and adjustable volume.

20.3Kuses
8.8/10(113)
Use keyboard: A-J for white keys (octave 1) · K-' for white keys (octave 2) · W E T Y U O P ] for black keys

How to Use the Piano

  1. Click keys or use your computer keyboard to play notes.
  2. Bottom row: A-J for white keys (C4-B4), K-' for C5-E5.
  3. Top row: W, E, T, Y, U, O, P, ] for black keys.
  4. Toggle sustain to hold notes after releasing keys.
  5. Change waveform for different timbres.

Features

  • 2-octave piano keyboard (C4 to B5)
  • Computer keyboard mapping for quick play
  • 4 waveform types: Sine, Square, Sawtooth, Triangle
  • Sustain toggle for held notes
  • Adjustable volume
  • Visual active key highlighting
  • 100% client-side using Web Audio API
⚡ Pro OptionsSponsored

Some links on this page are affiliate links. If you click and make a purchase, we may earn a commission at no extra cost to you.

Recommended Products

Ad

Affiliate Disclosure: As an Amazon Associate, ToolBird earns from qualifying purchases. Links above are affiliate links — if you buy through them, we may earn a small commission at no extra cost to you.

Disclaimer: This tool is provided as-is for informational and educational purposes only.

ToolBird Assistant

Find the right tool instantly

Hey! I'm ToolBird Assistant. Tell me what you need and I'll find the right tool for you.