JWT Decoder / Encoder
Debug JSON Web Tokens: decode headers and payloads, verify signatures (HS256), or create new signed tokens. All operations happen in your browser โ no secrets are ever sent to a server.
โ๏ธ Encode New JWT (HS256)
๐ Decode & Verify JWT
๐ How to Use the JWT Tool โ Step by Step
- Encode a new JWT โ Edit header and payload JSON, provide a secret, then click "Encode HS256". Use "Load Example" to try a sample.
- Decode a JWT โ Paste a JWT into the lower textarea and click "Decode Token". Load an example with the button.
- Verify Signature โ After decoding, enter the secret key and click "Verify Signature". The tool will tell you if it matches (HS256 only).
- Copy results โ Use the copy buttons to grab the encoded token or any part.
๐ก Why Use This JWT Tool?
- โ๏ธ Fully clientโside โ your secrets never leave your browser.
- โ๏ธ Supports HS256 signing and verification using Web Crypto API.
- โ๏ธ Perfect for debugging JWTs during development.
- โ๏ธ 100% private โ no server logging.
๐ก Pro Tip: This tool only supports HS256 (symmetric) signatures. For RS256 or other asymmetric algorithms, use a dedicated library. Always keep your secret keys secure.
๐ 100% clientโside โข Your secrets never uploaded โข HS256 only โข Zero tracking