Typre — practice typing code
Typing practice built for programmers. Instead of prose, you type real code: brackets, operators, semicolons and indentation — the characters that actually slow you down while programming.
14 languages, 2,590 code snippets
JavaScript, TypeScript, C#, Python, Java, Go, SQL, Bash, C and C++, Rust, HTML, CSS, JSON, and a special-characters drill. Every language has at least 60 snippets for each of the 15, 30 and 60 second runs, served in shuffled order so you never repeat one before finishing a full round — even across page reloads.
Practice typing code by language
- Practice typing JavaScript code
- Practice typing TypeScript code
- Practice typing C# code
- Practice typing Python code
- Practice typing Java code
- Practice typing Go code
- Practice typing SQL code
- Practice typing Bash code
- Practice typing C and C++ code
- Practice typing Rust code
- Practice typing HTML code
- Practice typing CSS code
- Practice typing JSON code
- Practice brackets, operators and symbols
- All 14 languages in one place
- Play chess by typing code
What it measures
WPM, CPM, accuracy, raw speed and consistency, plus the characters you miss most often. Earn XP and levels as you practise, unlock achievements, and keep a daily streak. Sign in to submit scores to the leaderboard.
Type your own code
Paste a snippet from your own codebase and practise that instead. Smart quotes, tabs and invisible characters are converted so everything stays typeable.
Race a friend in real time
Send a link and type the same snippet side by side, watching each other's progress live and seeing who finishes first.
Leaderboard
Rank all time, this week or today, filtered by language and run length, or narrow it down to just you and your friends.
IDE shortcuts
A separate drill for VS Code and Vim keyboard shortcuts.
Works offline, free forever
Install Typre to your home screen and keep practising without a network — the whole snippet library ships with the app. No account needed to type, no ads, no payment.
Questions
What is Typre?
Typre is a free typing trainer for programmers, at typre.dev. It works like an ordinary typing test — timer, WPM, accuracy — except you type real code instead of English prose, in 14 programming languages.
Is it spelled Typre or Typer?
Typre, with the r before the e. The name is "typer" with the last two letters swapped. If you searched for Typer, Typra or type.dev and landed here, this is the site you were looking for.
Is there a typing test for programmers?
That is what Typre is. Ordinary typing tests feed you English prose, so you never practise the keys that actually slow you down while coding. Here every run is real code, and the timer, WPM and accuracy work the same way you are used to.
How do I get faster at typing code?
Practise the characters, not the words. Brackets, operators and punctuation are where most programmers lose time, because they sit on the shifted row and rarely appear in prose. Typre has a drill made of nothing but those characters, plus real snippets in the language you actually write.
Is Typre free?
Yes, and there is no account required to type. Signing in only adds the leaderboard, friends and syncing your XP between devices. No ads, no paid tier.
Which programming languages can I practise?
Fourteen: JavaScript, TypeScript, C#, Python, Java, Go, SQL, Bash, C/C++, Rust, HTML, CSS, JSON, and a punctuation drill. You can also paste code from your own project and type that instead.
Does it work without internet?
Yes. Every snippet ships inside the app, so once it has loaded you can keep practising with no network at all. Only the leaderboard needs a connection.
How is WPM measured?
A word counts as five characters, so WPM is correct characters divided by five, divided by minutes elapsed. Raw WPM counts every keystroke including mistakes, and consistency compares your speed second by second — steady typing scores higher than bursts followed by pauses.