What is PKCE?
PKCE (Proof Key for Code Exchange) protects the OAuth authorization code flow for public clients by binding the token request to a high-entropy code_verifier and its SHA-256 code_challenge.
This playground generates S256 pairs with WebCrypto, builds ready-to-open authorization URLs, and produces token-endpoint snippets — without sending secrets to a server.
How to use this tool
- Generate a code_verifier / code_challenge pair and copy them into your client config.
- Use Auth URL Builder to assemble client_id, redirect_uri, scope, state, and PKCE parameters.
- Paste an authorization code into Token Exchange to copy curl, fetch, or Axios snippets.
Frequently asked questions
Is the code_verifier uploaded?
No. Generation and hashing run in your browser with the Web Crypto API.
Does this replace a full OAuth RP?
No — use the OAuth / OIDC RP tool for live redirects. This playground focuses on PKCE values, URL construction, and exchange snippets.