JWT Encoder
Mint test tokens in seconds: paste a payload, set a secret, pick HS256/384/512. Then verify any token against the secret. Built for developers debugging auth flows.
Signing and verification use WebCrypto in your browser. Your secret key never leaves this page.
Sign a token
Algorithm
Secret key
Payload (JSON)
Verify a token
Token
Related tools
How to use
- 1
Paste or edit the JSON payload.
- 2
Set the secret and algorithm.
- 3
Sign, copy the token — or paste one to verify.
Supported formats
Accepts
Produces
FAQ
HS256, HS384 and HS512 (HMAC with SHA-2). RSA/ECDSA need key pairs and are not included.
Yes — signing uses WebCrypto locally. The secret never leaves your tab. Still, use test secrets, not production ones.
The token was signed with a different secret, the payload was edited, or the token is truncated.
Yes — the JWT Decoder tool shows header and payload without a secret.