JWT Builder & Verifier
Sign, decode, and verify JSON Web Tokens using HS, RS, PS, and ES algorithms locally with Web Crypto.
Settings
No clock skew · UTF-8 secret
How to Use JWT Builder & Verifier in 3 Steps
Build and sign a token
Select an algorithm, edit the JSON payload, and enter an HMAC secret or PKCS#8 key. Click Generate key pair if you need test keys.
Decode and verify signatures
Switch to Verify & decode and paste a JWT to inspect claims and expiry badges. Add a secret, PEM key, or JWKS to verify signatures.
Copy or export keys
Click Copy to grab the compact token or decoded JSON. Use Download to save the token, claims, or generated PEM key files.
JWT Builder & Verifier: Frequently Asked Questions
Do my JWT secrets or private keys leave this tab?
No. Signing and verification run inside your browser via native crypto.subtle without local storage or network requests. Rotate test keys before production use.
Which cryptographic key formats work here?
Private keys require PKCS#8 PEM (BEGIN PRIVATE KEY), and public keys accept SPKI PEM (BEGIN PUBLIC KEY) or JWK and JWKS JSON.
How are exp, nbf, and iat claims checked?
Those claims store Unix timestamps in seconds. Status badges compare them against your device clock plus the clock-skew tolerance in Settings.
Why does the verifier flag alg: none as unsafe?
Unsigned tokens with alg: none allow attackers to forge claims if a backend accepts them. This verifier always marks unsigned tokens as unsafe.
Are ES256 signatures compatible with jose and PyJWT?
Yes. Web Crypto emits standard JWS raw r || s signatures, so tokens verify directly in jose, PyJWT, and jsonwebtoken.
Can I inspect a JWT without the verification key?
Yes. JWT headers and payloads use Base64url encoding rather than encryption, so you can read claims while the signature stays marked unverified.
Explore All Dev Tools
Format, minify, inspect, and validate code and developer payloads locally.