πŸ”‘
πŸ“š

Learn How JWT Tokens Work

Decode example JWTs to understand the structure: header, payload, and signature. See real-world claim examples.

Nid oes angen mewngofnodi

πŸ”’ The token is decoded entirely in your browser. Nothing is sent to any server.

Learning JWT tips

πŸ“š

Click "Load example" to see a sample JWT. Notice how it has three parts separated by dots: header, payload, and signature β€” each Base64URL-encoded.

πŸ’‘

The header and payload are *encoded*, not *encrypted*. Anyone with the token can read them. The signature is what proves the token wasn't tampered with.

πŸ”

The signature requires the secret/key to verify β€” that's how the server knows the token is genuine. Without the key, the signature is just a string of bytes.

πŸ”

The standard claims (iss, sub, aud, exp, nbf, iat, jti) are defined in RFC 7519. They're the universal JWT vocabulary used across providers.

Sut Mae'n Gweithio

1
Ewch i mewn
Enter your data into the tool above. Everything stays local to your browser.
2
Proses
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Lawrlwythwch
Get your result instantly. Nothing is stored after you leave the page β€” complete privacy.

Pam defnyddio ein un ni?

βœ“Hollol rhad ac am ddim - dim costau cudd, byth
βœ“Nid oes angen cyfrif, e-bost na mewngofnodi
βœ“Nid yw ffeiliau byth yn gadael eich dyfais
βœ“Dim cyfyngiadau maint ffeil o gwbl
βœ“Dim dyfrnodau ar unrhyw allbwn

Also check out…

Cwestiynau Cyffredin