Free to use, no account
JWT encoder
Build a compact HS256 token from a JSON claims object or verify its signature in this browser. Signature verification alone does not identify a trusted issuer or authenticate a user.
How does this JWT encoder work?
It signs the base64url-encoded header and JSON payload with HMAC-SHA-256 (HS256), or verifies that signature locally. You can optionally add an expiration claim in seconds. Only HS256 is supported.
Frequently asked questions
How does this JWT encoder work?
It signs the base64url-encoded header and JSON payload with HMAC-SHA-256 (HS256), or verifies that signature locally. You can optionally add an expiration claim in seconds. Only HS256 is supported.
Are my claims, token or secret uploaded?
No. The signing and verification use browser Web Crypto. This page does not send or save the JSON, token or secret. Avoid entering production secrets into shared or compromised devices.
Does a valid JWT signature mean a user is authenticated?
No. It only shows that the token signature matches the secret entered here. Your application must independently trust the issuer, audience, key, time limits and authorization rules.
Which JWT algorithms are supported?
This tool creates and checks HS256 tokens with an HMAC secret. It does not create or verify RSA, ECDSA, EdDSA or other algorithms.
Can I recover a lost signing secret?
No. The tool does not store or recover secrets. Keep production keys in an appropriate secure key-management system, not in this page.