A typing test for developers
Code is full of characters that ordinary typing tests ignore: curly braces, square brackets, parentheses, quotes, semicolons, arrows, equals signs and line breaks. Most of them sit on the edges of the keyboard and need Shift. This test uses real, working snippets so you practise exactly those keys.
Languages and snippets
- JavaScript: a debounce function and an async fetch with filter and map
- Python: a word counter with type hints and a small class
- HTML: a contact form and an article card
- CSS: a responsive grid and button styles
- SQL: a monthly sales report and a table definition
- Java: a loop with generics and a record with streams
- C++: vectors and pointers
- PHP: formatting prices and validating a form
How it works
Click the code and start typing; the timer starts with your first key. Press Enter at the end of each line and the indentation of the next line is added automatically. A wrong key is counted and highlighted, and the caret waits for the right one. Esc restarts the snippet.
Your results
- Code WPM = characters typed (indentation excluded) ÷ 5 ÷ minutes
- Accuracy = correct keys ÷ all keys pressed
- Symbol accuracy: the same, only for brackets, quotes, operators and other punctuation
- Keys you missed most, so you know which symbols to drill
Tips for typing code faster
- Learn the symbol keys by touch, especially { } [ ] ( ) and quotes.
- Use the opposite Shift key for symbols on the number row.
- Type in chunks, such as a whole function call, rather than letter by letter.
Warm up with the number typing practice for the number row and its symbols, or test your prose speed on the 1 minute typing test.