tktypekey

Add a typing test to your website

Copy one line of HTML and your visitors get a working typing test. Free, no account, no tracking.

Get the codeAbout the test

3ranked boards
18code languages
0ads or payments

Copy and paste

Paste this where you want the test to appear:

<iframe src="https://typekey.pages.dev/embed?time=30&theme=typekey" title="typekey typing test" width="100%" height="260" style="border:0;max-width:720px" loading="lazy"></iframe>

Live preview:

Options

Add these to the address in src:

Example: /embed?time=60&theme=dracula. Give the frame at least 240 pixels of height.

Good for

Privacy

The embedded test runs entirely in the visitor's browser. It sets no cookies, stores nothing and sends nothing to typekey after it loads. Visitors can follow the link under the result to the full typing test if they want to keep a history.

Reading the result

When the test ends, the frame sends a message to your page: { type: "typekey-result", wpm, acc, seconds }. Listen for it with window.addEventListener("message", ...) if you want to show or save the score yourself. Check event.origin is https://typekey.pages.dev before you trust it.

Fair use

Free to use on any site. Please leave the small "Powered by typekey" link in place. The embedded test is for fun and practice: it is not a ranked or verified score.

Questions

Is the embedded typing test free?

Yes, with no limits and no account.

Does it track my visitors?

No. It uses no cookies and no storage, and makes no requests after it loads.

Can I change the colours?

Pick any typekey theme with the theme option. There are more than a hundred.

Will it work on mobile?

Yes. Visitors tap the box to bring up the keyboard. Scores on a phone are not comparable to a physical keyboard.