Skip to main content
Docs

Decode Clerk JWTs

How this tool works

The JWT Decoder lets you decode and verify JWTs. Currently only the RS256 algorithm is supported. Paste a JWT or select a Clerk session cookie to decode and verify the token. Click 'Create Example' to generate a random key set and JWT. You can add data to the payload and click 'Resign' to generate a new JWT from the payload.

Warning

The JWTs generated by this tool are for demonstration and educational purposes only. Do not use them for authentication, authorization, or any production use. Keys are generated client-side in your browser. This tool is intended for learning and debugging JWT structure, not for creating valid, production-ready tokens. All verification and decoding occurs in your browser and is not sent to the server.

JWT
0KB
Paste your JWT here...
Header
Payload
Public Key (optional)
If your JWT has an OIDC compatible issuer with a JWKS endpoint, the public key will be automatically populated. Otherwise paste in your JWKS or PEM public key to verify the JWT signature.

Customize your session tokens

Learn more about how to customize your session tokens.

Session tokens

Learn more about Clerk's session tokens.

Tokens and signatures

Learn more about JWT signatures.

Clerk cookies & tokens

Learn more about how Clerk uses cookies and JWTs.

Feedback

What did you think of this content?

Last updated on

GitHubEdit on GitHub