Press any key to test it. Keys light up and key event details are shown.
Designing for the web often involves fine-tuning visual properties until they look just right. Keyboard Tester gives you an interactive playground to press any key to test it. keys light up and key event details are shown and instantly see the result. When you're happy with the output, copy the generated CSS code and paste it into your stylesheet — no guesswork needed.
key is the logical key value (depends on keyboard layout and modifiers, e.g. "A" or "a" for the same key). code is the physical key position (always "KeyA" regardless of layout or shift state).