# What Is Cloudflare Turnstile?

Source: https://www.sneakerdev.com/glossary/cloudflare-turnstile
Updated: 2026-11-24

> Cloudflare Turnstile is a free CAPTCHA replacement from Cloudflare. Instead of asking people to click traffic lights, it runs a set of small, mostly invisible browser challenges and issues a token that the website verifies on its server. Any website can use it, whether or not its traffic goes through Cloudflare.

## Cloudflare Turnstile in one paragraph

Turnstile is Cloudflare's answer to traditional CAPTCHAs. Launched in 2022, it lets site owners drop a small widget into a form (sign-up, login, comment, checkout) and confirm that the visitor is a real browser without making them solve a puzzle. Most users either see nothing at all or a single checkbox that completes on its own. Turnstile is free for most uses, is positioned as privacy-preserving, and does not require the site to use Cloudflare's CDN.

Turnstile is not the same as Cloudflare's full-page "checking your browser" challenge or its Bot Management product, though they share underlying technology. Turnstile is the embeddable widget; the others protect whole sites at the network edge.

## How Turnstile works

### Rotating browser challenges

When the widget loads, it runs a series of non-interactive JavaScript challenges in the visitor's browser. These can include proof-of-work puzzles, checks on browser APIs and rendering behavior, and other environment probes. Cloudflare picks and rotates the challenges based on signals about the visitor, so a trusted browser gets a lighter check than a suspicious one. On supported devices, Turnstile can also use Private Access Tokens, a standard that lets the device vouch for itself without sharing identifying data.

### Widget modes

Site owners choose how visible the widget is:

- **Managed:** Cloudflare decides whether to show a checkbox based on the risk signals.
- **Non-interactive:** a widget is shown, but the visitor never has to click it.
- **Invisible:** nothing is displayed; the check runs entirely in the background.

### Server-side verification

When the challenge passes, the widget produces a short-lived token and adds it to the form. The website's backend sends that token to Cloudflare's verification endpoint together with its secret key and gets back a pass or fail answer. Tokens are single-use and expire after a few minutes, so they cannot be stockpiled for long.

### Signals in the background

Because it runs on Cloudflare's infrastructure, Turnstile can draw on IP reputation and traffic patterns seen across Cloudflare's network, plus browser signals similar to those described in [browser fingerprinting](https://www.sneakerdev.com/glossary/browser-fingerprinting). A [headless browser](https://www.sneakerdev.com/glossary/headless-browser) with default settings or a mismatched [TLS fingerprint](https://www.sneakerdev.com/glossary/tls-fingerprinting) makes the check harder to pass.

## Where you meet Turnstile

Turnstile appears on sign-up and login forms, contact and comment forms, newsletter sign-ups, checkout pages and API-backed web apps of every size, from personal blogs to large SaaS products. Many sites migrated to it from [reCAPTCHA](https://www.sneakerdev.com/glossary/recaptcha) or [hCaptcha](https://www.sneakerdev.com/glossary/hcaptcha) because it is free and usually invisible to real users.

## What it means for developers

For legitimate automation, such as end-to-end testing of your own forms, accessibility tooling or approved data collection, Turnstile has a few practical implications:

- **Test your own site with test keys.** Cloudflare publishes dummy site keys that always pass or always fail, which is the right way to run CI tests against your own forms.
- **Tokens expire quickly.** Any workflow has to submit the form soon after the token is issued.
- **Environment quality matters.** Clean, consistent browser environments and reputable IPs pass far more often than flagged ones.

If the site is not yours, follow its terms of service and the law. This page explains how Turnstile works; it does not teach how to defeat it.

## Tools developers evaluate

Turnstile comes up most often in comparisons of captcha solvers, because many solving services now offer Turnstile token support alongside reCAPTCHA and hCaptcha. Developers also evaluate antibot APIs that handle Cloudflare challenges as part of a request, stealth browser tooling covered in [Playwright and Puppeteer stealth](https://www.sneakerdev.com/guides/playwright-and-puppeteer-stealth), and quality proxies. See [how captcha solving services work](https://www.sneakerdev.com/guides/how-captcha-solving-services-work) for the vendor-neutral picture, and estimate volume costs with the [captcha cost calculator](https://www.sneakerdev.com/tools/captcha-cost-calculator). The live table below lists captcha and antibot providers on Sneaker Dev.

## Frequently asked questions

### Is Cloudflare Turnstile free?

Yes, Turnstile has a free tier that covers most websites, and an enterprise version is available for Cloudflare's larger customers with extra features and support.

### Do I need to use Cloudflare's CDN to use Turnstile?

No. Turnstile works on any website. You add the widget to your page and verify the token from your server, regardless of where the site is hosted.

### What is the difference between Turnstile and Cloudflare's browser check page?

Turnstile is an embeddable widget for specific forms or actions. The full-page browser check is part of Cloudflare's edge protection and challenges a visitor before the site loads at all.

### How long is a Turnstile token valid?

Tokens are single-use and expire after about five minutes, so the protected form has to be submitted and verified shortly after the challenge completes.
