Skip to main content

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.

✓ Decode header & payload instantly ✓ Verify HS256 signatures in-browser ✓ Encode new JWTs with custom claims ✓ No data sent to any server

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.

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

JWT Decoder LLM Token Counter OpenAPI Validator Prompt Token Estimator AI Prompt Token Estimator JWT Builder LLM Context Window Calculator Token Context Calculator API Response Mock Generator API Response Time Tester JWT Debugger Pro OpenAPI Schema Validator OAuth2 Flow Visualizer OpenAPI Mock Generator OpenAI Token Counter OAuth2 Flow Debugger API Test Case Generator API Key Generator API Request Builder HTTP Security Headers Generator OAuth2 Flow Tester API Mock Server Config Generator HTTP Security Headers Checker LLM Prompt Cost Calculator authentik AI Rate Limit Calculator AI Token Cost Calculator API Rate Limit Calculator API Response Formatter & Analyzer HTTP API Tester Rate Limiter Tester Rate Limit Calculator LLM Cost Calculator AI Prompt Cost Calculator REST API Request Builder Content Security Policy Builder API Response Mocker HTTP Header Inspector Prompt Injection Tester GCP Service Account Key Auditor Axios Interceptor Builder AI Context Window Visualizer Token Counter & Cost Estimator HTTP Headers Analyzer AI Doc Generator — Pro Tool AI System Guardian .htaccess Generator HTTP Methods Reference HTTP Code Snippet Generator HTTP Status Code Reference HTTP Status Code Reference JSON Diff Viewer JSON Diff nginx Config Generator Password Strength Checker API Changelog Generator HTTP Mock Response Builder HMAC Generator CSP Header Builder CORS Policy Builder AWS IAM Policy Validator HTTP Cookie Parser SBOM Generator HTTP Status Code Lookup TOTP Code Generator HTTP Status Code Lookup Vue Component Generator HTTP Status Code Reference HTTP Header Analyzer Dockerfile Linter mTLS Certificate Chain Builder Mock Service Worker (MSW) API Mocking Guide Pulumi Modern IaC Guide HashiCorp Vault Secrets Management Guide AES Encryptor / Decryptor AI Model Context Window Visualizer AI Agent Run Cost Tracker RAG Chunking Calculator Casdoor Docker Layer Optimizer HTML5 Canvas API Playground GraphQL Client Configurator OpenAI Function Calling Generator AI API Rate Limit Calculator Password Strength Analyzer JWT Decoder & Validator Secret Entropy Checker NFT Metadata Generator

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$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.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →