Code Typing Test
Type real JavaScript and Python snippets and see your WPM and accuracy.
Runs in your browser. Nothing is uploaded.
- wpm
- 0
- acc
- 100%
- time
- 0.0s
Click here to start typing
How it works
Pick a language and type the snippet exactly as shown, including brackets, quotes, and the ↵ at the end of each line. Indentation is filled in for you. The timer starts on your first key.
Shortcuts
Tab next snippet · Esc restart · Alt+Backspace delete a word.
How WPM is counted
Five characters count as one word, the standard rule for typing tests. Accuracy is correct keystrokes divided by all keystrokes, so fixing a typo still costs you.
Which languages can I practise?
JavaScript and Python, with ten short snippets each: small functions, loops, classes, and the kind of code you write every day. Switching language picks a random snippet, and Tab moves to a different one. Python practice is good for colons, underscores and brackets; JavaScript adds arrows, braces, semicolons and template strings.
What happens when I press the wrong key?
The test keeps going and marks the wrong character in red. Press Backspace to go back and fix it, or carry on and accept the error. Either way the mistake counts against your accuracy, and the errors count at the end shows how many wrong keys you pressed.
Are my scores saved?
Each finished snippet is saved in this browser only, with your best speed, the average of your last ten runs and a small chart for each language. A new best label appears when you beat your top speed. Nothing is sent to a server, and clearing your browser data removes the history.
Related tools
All typing- Keyboard TesterPress every key and see it light up. Finds dead and stuck keys and shows key codes.
- JSON FormatterFormat, minify, and validate JSON. Shows the exact line of any error.
- JSON to TypeScriptTurn any JSON into TypeScript interfaces. Nested types named, optional keys detected.
- Hindi Typing Online: English to Hindi TypingType Hindi the way you write it on WhatsApp ("aap kaise ho") and get Devanagari (आप कैसे हो) as you type. Pick another spelling and it is remembered.
- Hindi Typing Test Online (Inscript & Remington GAIL)Practise for SSC, court and state typing tests in Mangal Hindi: timed passages, Inscript or Remington GAIL, gross and net speed, every wrong word marked.