Code typing test: type real programs in 20 languages

CodeTypingTest is a free typing test for programmers. Instead of random words, you type real, working programs in Python, JavaScript, Rust, Go and 16 more languages, with no autocomplete and no AI. It's a simple way to measure how fast and accurately you type code, and to practise the brackets, symbols and line breaks that ordinary typing tests leave out.

How it works

  1. Pick a language and a program. Every language has 20 programs, from Hello World to quicksort. Or press random for a surprise.
  2. Start typing. The timer starts on your first key. Press Enter for a new line and the indentation is filled in for you.
  3. Get every character right. A wrong key shows in red, just as a typo would in your editor. Press Backspace to go back and fix it: the timer only stops once every character is correct, so every program you finish is exactly right.
  4. See your result. You get your time, speed and accuracy, and your best time for each program is saved in your browser.

Choose a language

Each language has its own page, with an example program, the symbols you'll type most and tips for typing it faster.

20 programs, four levels

Every language has the same 20 programs, so you can compare how quickly you type the same idea in different languages. Choose a program to start it in your current language.

Beginner

Intermediate

Advanced

Expert

Prefer plain text? Try the words test

CodeTypingTest also has a classic 60-second typing test with common English words. It shows your live speed, a countdown and your accuracy as you type, then graphs of your speed over time and words completed, with your peak speed, consistency and longest streak of perfect words. Turn on punctuation and numbers for a harder test. Take the 60-second words test.

Guides

Questions

Is CodeTypingTest free?

Yes. Every language, program and test is free to use, with no account or sign-up. The site may show ads to cover its costs.

Why type code by hand when AI can write it?

You still read, fix and review code all day, and typing fluently keeps your attention on the problem rather than the keyboard. It's also a good reminder of how much you can do on your own.

Where are my results saved?

Only in your browser, on your device. Your history and best times are never sent to us, and you can clear them at any time from the stats panel.

Can I use it on a phone or tablet?

Yes, but it's built for a physical keyboard. The words test works well on touch screens. In code mode, on-screen keyboards with word suggestions can get in the way, so a hardware keyboard gives the best results.

What happens when I press the wrong key in code mode?

It shows in red and counts against your accuracy, even after you fix it. You can keep typing, but the program only finishes once every character is right, so go back with Backspace and fix it, as you would in an editor. Enter always takes you to the next line, so one slip can't throw off the rest of the program. How scoring works.