Why practice with a code typing test?
A code typing test trains the characters that normal text rarely uses: brackets, braces, semicolons, quotes, operators and underscores. Many developers type prose quickly but slow down on symbols. Practicing with real code trains exactly those keys, so you spend less time on typing and more time on thinking.
How the code typing test works
The code typing test gives you a short snippet, typically 5 to 12 lines, in the language you choose.
- Type it exactly as shown. Press Enter at the end of each line.
- Indentation is filled in for you, so you don't need Tab or lots of spaces.
- Mistakes turn red. Fix them with Backspace, or keep going. Press Esc to start the snippet again.
How the code typing test is scored
The code typing test counts every 5 correct characters as one word, as in our typing test. WPM counts the characters you got right, raw WPM counts everything you typed, and accuracy is the share of your keystrokes that were correct. Automatic indentation is not counted.
What is a good code typing speed?
Your code typing speed will usually be slower than on normal text, often by a third or more, because of all the symbols. The ratio between the two tells you how much the symbols cost you. If your code speed is far behind, practice the number row and the punctuation keys with our typing lessons.
Tips for a better code typing score
A better code typing score starts with the symbol keys:
- Learn where brackets and braces are without looking. Your little fingers do a lot of the work.
- Use the correct Shift key: the one on the opposite hand from the key you press.
- Accuracy matters more in code than anywhere else. A single wrong character can break a program.