How the code typing challenge works
- Pick or paste codeChoose a sample in JavaScript, Python, HTML, CSS or SQL, or paste your own snippet up to 1,500 characters.
- Type it exactlyEvery bracket, quote and semicolon counts. Press Enter at line ends; leading indentation is filled in automatically, like a code editor.
- Get your score cardWhen you reach the end you see your WPM, accuracy, mistakes and time, and can download a square score card image to share.
Why typing code is different
Ordinary typing tests are full of common words and lower-case letters. Code is full of symbols that sit far from the home row: { } [ ] ( ) ; : = < > " '. It also mixes cases (camelCase), underscores and numbers. That's why most developers type code 20–40% slower than plain English, and why practising on real code is useful. Typing your own project's code is great practice, because you'll meet the exact patterns you use every day.
How the score is worked out
Speed uses the standard measure of five characters per "word". Only correct keystrokes count, and automatically filled indentation is not counted, so the score reflects what you really typed. Accuracy is correct keys divided by all keys pressed. The timer starts on your first key and stops on the last character. Your best code WPM is saved in your browser.
Typing tips for developers
- Learn symbol reaches. Practise brackets and quotes without looking; they are where most time is lost.
- Type closing pairs deliberately. Editors auto-close brackets, but knowing the keys keeps you fast in any tool.
- Accuracy first. In code, one wrong character can break a build, so a clean run beats a fast messy one.
- Practise your own stack. Paste code from the language you use most.
Want to share beautiful code instead? Make an image with the code screenshot generator.
Frequently asked questions
Can I use my own code?
Yes. Paste any snippet up to 1,500 characters. Tabs are turned into four spaces and trailing spaces are removed.
Do I need to type the indentation?
No. Spaces at the start of a line are filled in for you after each new line, so you can focus on the code itself.
What is a good code typing speed?
Many developers type code at 30–50 WPM. Above 60 WPM on code with lots of symbols is very fast.
Is my code uploaded?
No. Your code stays in your browser and is never sent anywhere.