JWT Decoder & Encoder

Decode, verify, and sign JSON Web Tokens - HS, RS, PS, ES, EdDSA. 100% client-side, nothing leaves your browser.

Generate example

Paste a JWT below that you'd like to decode, validate, and verify.

JSON Web Token (JWT)

                        

                        

Enter the secret used to sign the JWT below:

Secret

What is a JSON Web Token?

A JSON Web Token (JWT) is an open standard (RFC 7519) for securely transmitting information between parties as a compact, URL-safe string. A JWT consists of three base64url-encoded segments separated by dots: header.payload.signature.

What this tool does

Supported algorithms

Privacy & security

All decoding, signing, and verification happens locally in your browser using the native Web Crypto API. No tokens or keys are ever sent to our servers.

Frequently Asked Questions

Is my token sent to a server?
No. Decoding, verifying, and signing all run locally using the browser's native Web Crypto API. Nothing is uploaded or logged.
Which signing algorithms are supported?
HS256/384/512, RS256/384/512, PS256/384/512, ES256/384/512, and EdDSA (Ed25519 and Ed448).
Can I verify a token without the secret or public key?
You can decode the header and payload without any key - decoding is just Base64URL. Verifying the signature requires the matching secret (HS) or public key (RS/PS/ES/EdDSA).
What is the difference between decoding and verifying?
Decoding reads the header and payload without checking authenticity - anyone can decode a JWT. Verifying additionally checks the cryptographic signature against a key, confirming the token was not tampered with.
Why did verification fail?
The most common causes are a wrong key/secret, a mismatched algorithm, or a token that was modified after signing. Check that you copied the exact key used to sign it.