Typing Speed Test and Practice Tool - WPM Test, Code Typing with Keystroke Heatmap

First Published:
Last Updated:

This is a free online typing speed test and practice tool that measures your Words Per Minute (WPM), Characters Per Minute (CPM), and accuracy in real time. It features a unique Code Typing mode for practicing with real JavaScript, Python, HTML, SQL, Go, and Rust code snippets. After each test, a keystroke error heatmap highlights your weakest keys, and a rhythm score measures your typing consistency. All data stays in your browser via LocalStorage — no account required, complete privacy guaranteed.

All processing is performed entirely in your browser using client-side JavaScript. No data is transmitted to any server. Your typing data and history never leave your device.

  • This tool is provided "AS IS" without any warranties of any kind.
  • The author accepts no responsibility for any issues arising from the use of this tool.
  • Session history is stored in your browser's LocalStorage and may be cleared by browser settings or private browsing modes.
  • By using this tool, you accept full responsibility for any outcomes.

This tool uses client-side JavaScript for all processing. No data is transmitted to servers, no files are uploaded online, all processing happens locally in your browser. Once loaded, this tool continues to work even without an internet connection. For more details, please refer to our Web Tools Disclaimer.

Duration:
0 WPM
0 CPM
100% Accuracy
1:00 Time Left
Live WPM

Results

0
WPM
0%
Accuracy
0
Errors
0
CPM
0
Rhythm Score
0
Consistency
WPM Over Time

Keystroke Error Heatmap

Keys with the most typing errors are highlighted in red. Hover over a key to see the error count.

Session History

0 sessions recorded

Features

  • Real-Time WPM & CPM Measurement: Tracks your Words Per Minute and Characters Per Minute as you type, with live stat updates.
  • Character-by-Character Feedback: Each character turns green (correct) or red (incorrect) instantly as you type.
  • Prompt Typing Mode: Practice typing real-world AI prompts across categories: Code Generation, Debugging, Architecture, Writing, and Data Analysis — a unique feature for the AI era.
  • Code Typing Mode: Practice typing real code snippets in JavaScript, Python, HTML/CSS, SQL, Go, and Rust — a unique feature for developers.
  • Keystroke Error Heatmap: After each test, a visual keyboard layout highlights which keys caused the most errors.
  • Rhythm Score & Consistency: Measures your typing rhythm consistency using inter-keystroke interval analysis — not just speed, but smoothness.
  • Live WPM Graph: A real-time sparkline chart shows your typing speed progression during the test.
  • Multiple Test Durations: Choose 1-minute, 2-minute, or 5-minute test lengths.
  • Session History & Trends: Past results are saved to LocalStorage with a trend graph showing your improvement over time.
  • Complete Privacy: All processing happens locally in your browser. No data is sent to any server, no account required.
  • Works Offline: Once loaded, the tool works without an internet connection.

How to Use

  1. Select a mode: English Text for natural language passages, Prompt Typing for AI prompt practice, or Code Typing for programming language snippets.
  2. Choose a test duration (1 min, 2 min, or 5 min) and optionally select a category (Prompt mode) or programming language (Code mode).
  3. Click the text area or start typing to begin the test. The timer starts on your first keystroke.
  4. Type the displayed text as accurately and quickly as possible. Correct characters turn green, errors turn red.
  5. Use Backspace to correct mistakes. The cursor shows your current position with a blinking indicator.
  6. Monitor your live WPM, CPM, accuracy, and remaining time in the stats bar above.
  7. When the timer ends (or you complete all the text), your results are shown: WPM, accuracy, errors, CPM, rhythm score, and consistency.
  8. Review the Keystroke Error Heatmap to identify your weakest keys.
  9. Click Retry to re-test the same text, or New Test for a fresh passage.
  10. Check the Session History section to track your improvement over time.

Important Notes

  • WPM is calculated using the standard formula: (correct characters / 5) / minutes elapsed.
  • The Rhythm Score (0-100) measures typing consistency using the coefficient of variation of inter-keystroke intervals. Higher scores indicate smoother, more consistent typing.
  • Session history is stored in your browser's LocalStorage (up to 50 sessions). Clearing browser data or using private/incognito mode may erase your history.
  • The Prompt Typing mode features realistic AI prompts covering common tasks like code generation, debugging, architecture design, technical writing, and data analysis.
  • The Code Typing mode uses realistic code snippets with special characters, indentation, and line breaks that challenge different typing skills.
  • For the best experience, use a physical keyboard. Soft/virtual keyboards may not capture all keystrokes accurately.

References:
Tech Blog with curated related content
Web Tools Collection

Written by Hidekazu Konishi