JWT Debugger Advanced
Decode any JWT token to inspect header, payload, and all claims with explanations. Verify HS256 signatures using SubtleCrypto, build new tokens, and catch security issues — all running locally in your browser.
Token Status
Frequently Asked Questions
What is a JWT and how does it work?▼
A JSON Web Token (JWT) is a compact, URL-safe token format consisting of three Base64URL-encoded parts separated by dots: header (algorithm & type), payload (claims), and signature. The server signs the header+payload with a secret or private key — the receiver can verify authenticity without storing session state.
Is it safe to paste my JWT tokens here?▼
Yes — this tool runs 100% in your browser. No token data is ever sent to any server. That said, avoid pasting long-lived production tokens into any online tool as a habit. For short-lived access tokens used for debugging, this tool is completely safe.
What is the difference between HS256, RS256, and ES256?▼
HS256 (HMAC-SHA256) uses a single shared secret for both signing and verifying — simple but requires both parties to share the secret. RS256 (RSA-SHA256) uses a private key to sign and a public key to verify — better for distributed systems. ES256 (ECDSA-SHA256) uses elliptic curve cryptography, producing smaller signatures with equivalent security to RS256.
Why is algorithm 'none' dangerous?▼
The 'none' algorithm means the token has no signature — any payload can be accepted as valid. Some older JWT libraries had vulnerabilities where they accepted 'alg: none' tokens, allowing attackers to forge tokens. Always explicitly reject 'none' algorithm tokens in your verification logic.
What happens when a JWT expires?▼
The exp (expiration) claim is a Unix timestamp. When the current time is past that timestamp, the token is considered expired and should be rejected by the server. Clients must request a new token (via refresh token or re-authentication). This tool shows exact time until expiry or how long ago it expired.
What is the difference between standard claims and custom claims?▼
Standard claims are defined in RFC 7519: iss (issuer), sub (subject), aud (audience), exp (expiration), nbf (not before), iat (issued at), jti (JWT ID). Custom claims are any additional key-value pairs added by your application, like user roles, email, or tenant ID. Standard claims are highlighted differently so you can spot them instantly.
Related Products
on GumroadDeveloper Productivity Bundle
Stop rebuilding the same setup every project. 51 VSCode snippets, 40 Git aliases, 5 Docker Compose stacks, 5 GitHub Actions workflows, 5 README templates, and a dotfiles kit. Set up a professional dev environment in under an hour.
Buy on Gumroad →AI Prompt Engineering Toolkit
58 structured prompt templates for Claude, ChatGPT, and Gemini — organized by use case. Code Review, Debugging, Documentation, Architecture, and 10 model-specific tips. Stop writing prompts from scratch.
Buy on Gumroad →Developer Cheat Sheet Bundle
10 print-ready cheat sheets for the tools developers use every day: Git, Docker, Linux CLI, SQL, Regex, HTTP Status codes, VS Code shortcuts, Bash scripting, jq/JSON, and Markdown.
Buy on Gumroad →You Might Also Need
JWT Decoder
Free JWT decoder. Inspect any JSON Web Token
Open free tool →
LLM Token Counter
Paste any text and instantly count tokens for GPT-4o, Claude, and Gemini. Uses tiktoken-style 4-char-per-token estimation. Shows token count, word count, and estimated API cost.
Open free tool →
OpenAPI Validator
Paste your OpenAPI 3.x spec (YAML or JSON) to validate structure, find missing required fields, detect duplicate paths, check for missing operationIds, and get errors and warnings with path references.
Open free tool →
More Free Tools
Related Articles
JWT Authentication Best Practices 2026: Secure Your API Tokens
Complete JWT security guide for 2026. Covers RS256 vs HS256 signing, token storage strategies, expiry and refresh token patterns, revocation, common vulnerabilities, and a production security checklist.
Web Authentication Patterns in 2026: OAuth, Passkeys, and JWT Best Practices
A complete guide to modern web authentication: OAuth 2.0/OIDC, Passkeys/WebAuthn, JWT best practices, session management, and MFA strategies for secure apps.
JWT Token Decoder: How to Debug Authentication Issues
Learn how to use a JWT token decoder to diagnose 401 errors, expired tokens, missing claims, and auth misconfiguration. Practical debugging guide with code examples.
JWT Tokens Explained: How to Decode and Debug Them
Understand JSON Web Tokens from header to signature. Learn how to decode JWTs, read their claims, debug authentication issues, and use free online JWT tools.
JWT Decoder: How to Read Token Payloads
Learn how to decode JWT tokens and read their payloads. A practical guide to JWT structure, claims, expiry checking, and debugging auth issues with a free online decoder.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →