Real snippets
Practice syntax, punctuation, and indentation developers actually use.
Codestroke is a code typing test for developers. Practice real JavaScript, Python, SQL, Java, C++, HTML/CSS, PHP, Go, and Kotlin snippets instead of ordinary prose.
This Python typing test focuses on list comprehensions, decorators, and dataclasses. Choose a 30, 60, or 120 second session and track your code typing speed and accuracy as you practice.
Practice syntax, punctuation, and indentation developers actually use.
Track live CPM, accuracy, time, and detailed session results.
Choose a 30, 60, or 120 second test and improve at your pace.
Code typing speed is measured in CPM (characters per minute), so symbols, brackets, and indentation count just like letters. Accuracy shows how much of the snippet you entered correctly. Pick a language to practice a focused code typing test:
The Python test uses realistic snippets with common Python syntax such as functions, list comprehensions, decorators, dataclasses, and indentation.
A code typing test measures how quickly and accurately you can type real source code instead of ordinary prose. Codestroke is built for developers.
Code contains symbols, brackets, and short tokens, so CPM measures every typed character. Codestroke also reports WPM, accuracy, and the selected test duration.
Words per minute can be misleading for code because syntax contains punctuation and short tokens. CPM gives a clearer view of code typing speed.
You can practice JavaScript, Python, SQL, Java, C++, HTML/CSS, PHP, Go, and Kotlin snippets.
Yes. The typing test is free in modern web browsers, and you can begin as a guest without creating an account.
Use Python snippets that combine small utility functions with data structures and asynchronous code. This route is useful when you want to make indentation, underscores, colons, and compact expressions feel automatic while your coding speed improves.
01list and dictionary comprehensions
02decorators, classes, and type hints
03asyncio flows and nested indentation
Python has fewer braces, so a missing colon or one misplaced indent can change the rhythm of a whole line. Compare code typing scores on the leaderboard.
React hooks, async & ES6+
List comps, decorators & classes
Queries, JOINs & aggregations
Generics, Stream API & OOP
Templates, STL & pointers
Semantic tags, Flexbox & Grid
PHP 8+ type declarations
Structs, maps & error returns
Data classes & null-safe syntax