Keyboard Trainer
Practise for real on the page: a seed produces a reproducible drill set (home row, letter pairs or English words), you type each highlighted target, wrong characters turn red with the first mistake position, and a hint names the finger for the next character. Accuracy and WPM are computed from your real input and performance.now() timing.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Finger drill
The input is already focused — copy the target without looking at the keyboard. Finishing a drill advances automatically; Enter submits early and mistakes are highlighted live.
- l
- d
- k
- f
- j
- s
- ;
- a
- l
- k
- ;
- j
l
Finger for the next character: 右手无名指 / Right ring
- Drills done
- 0 / 12
- This drill
- 0%
- Total accuracy
- 0%
- Total WPM
- 0
- Best drill
- 0 WPM
- Characters typed
- 0
The same seed produces exactly the same drill sequence, so you can repeat one set and compare scores.
What this tool does
- Run the same home-row set every day: fix the seed, so the drills never change and scores stay comparable.
- Type the current target without looking at the keyboard — wrong characters light up and the first mistake position shows up in the message line.
- Fix sloppy fingering with the finger hint, which names the finger responsible for the next character.
- Track total WPM and your best drill over time to see whether speed is bought with accuracy or actually improving.
Example
Input
Seed kt-2024, drill type “home row”, 12 drills, type the first target `l` in the input
Output
Drill 1 “l” done → status: Drill 2 / 12 · this drill 100% · 1 done · total 39 WPM Message: Drill 1 done: 100% accuracy · 39 WPM · 310 ms Stats: 1 / 12 done · 100% total accuracy · 39 WPM total · best drill 39 WPM · 1 character typed Finger hint: right pinky / Right pinky Typing `k` instead turns the `l` red and writes “1 characters in this drill are wrong; the first one is character 1”.
Frequently asked questions
How do I practise?
The input is focused as soon as the page loads: copy the current target from muscle memory. A drill submits itself once you reach its length and the next one starts automatically; Enter submits early. Mistakes are not blocked — they light up live and the first wrong position is reported.
How is WPM computed?
Correct characters ÷ 5 ÷ minutes. The minutes are measured, not estimated: the component uses performance.now() to time every drill from the first keystroke to submit, then hands the milliseconds to the pure function. Before any drill is finished WPM is 0.
Do the drills change?
No. The sequence comes from the seed through xorshift128, so the same seed, drill type and count always produce the same set — handy for repeating one set and comparing scores. “New drill set” rolls a fresh random seed, and the seed stays visible in the controls.
What is the finger hint for?
It comes from the common ten-finger map (ASDF / JKL; as the home row) to remind you which finger owns which key. It does not constrain how you type and it never grades your technique.
Keywords:keyboard trainerWPM