go install github.com/youruser/jwudtool@latest Got a feature request or found a bug? Open an issue on GitHub .
jwudtool verify --pubkey public.pem <token> Need to change a claim for testing? Clone and modify:
Happy debugging! This tutorial is for educational purposes only. Only test tokens you own or have permission to analyze.
Enter — a lightweight, command-line utility designed to simplify JWT inspection, manipulation, and testing. jwudtool tutorial
"alg": "HS256", "typ": "JWT"
HEADER:
💡 Tip: Use --pretty for colorized output. If you have the secret key ( mysecret ): go install github
"sub": "1234567890", "name": "John Doe", "iat": 1516239022
✓ Signature valid If invalid:
✗ Signature mismatch For RS256 tokens, use a public key: Clone and modify: Happy debugging
jwudtool version # Output: jwudtool 0.2.0 | Command | Purpose | |---------|---------| | decode | Decode header + payload without verifying signature | | verify | Check signature using a secret or public key | | forge | Create a new token from an existing one (change claims) | | fuzz | Test token against common attacks | Tutorial: Decode a JWT Given this sample token:
Mastering JWTs: A Step-by-Step Tutorial to jwudtool