Skip to main content

JWT Decoder & Validator

Paste a JWT to instantly decode the header and payload, check time-based claims (exp, nbf, iat), and spot common structural issues. Signature is not verified — never share your secret key.

✓ Decode header & payload ✓ Expiry & time claim checks ✓ Runs 100% in browser

Frequently Asked Questions

What is a JWT?▼

A JSON Web Token (JWT) is a compact, URL-safe token format used for authentication and information exchange. It has three Base64url-encoded parts separated by dots: header (algorithm + type), payload (claims), and signature. The signature verifies the token hasn't been tampered with.

What are standard JWT claims?▼

Standard registered claims include: iss (issuer), sub (subject), aud (audience), exp (expiration time), nbf (not before), iat (issued at), and jti (JWT ID). All are optional but widely used for auth flows. Custom claims can be added freely.

Can this tool validate the signature?▼

No. Signature validation requires your private/public key or secret, which you should never paste into any online tool. This decoder shows header and payload contents and validates structural claims (expiry, not-before). Always validate signatures server-side.

What is the 'alg: none' attack?▼

Some JWT libraries accept tokens with alg: none in the header, bypassing signature verification entirely. This is a critical vulnerability. Always explicitly whitelist allowed algorithms in your JWT library and reject 'none' as an algorithm.

What does token expiry mean?▼

The exp claim is a Unix timestamp (seconds since epoch). When the current time exceeds exp, the token is expired and should be rejected by your server. This decoder shows how much time remains (or how long ago it expired) relative to your local clock.

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 OpenAPI Validator API Response Mock Generator API Response Time Tester JWT Builder OpenAPI Schema Validator OAuth2 Flow Visualizer OpenAPI Mock Generator OAuth2 Flow Debugger API Test Case Generator API Request Builder HTTP Security Headers Generator JWT Debugger Pro OAuth2 Flow Tester API Mock Server Config Generator HTTP Security Headers Checker authentik API Key Generator API Rate Limit Calculator API Response Formatter & Analyzer HTTP API Tester LLM Cost Calculator AI Prompt Cost Calculator REST API Request Builder Content Security Policy Builder LLM Prompt Cost Calculator API Response Mocker HTTP Header Inspector AI Rate Limit Calculator Prompt Injection Tester GCP Service Account Key Auditor 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 Rate Limiter Tester API Changelog Generator HTTP Mock Response Builder HMAC Generator CSP Header Builder Rate Limit Calculator 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 LLM Context Window Calculator HTTP Header Analyzer LLM Token Counter Dockerfile Linter mTLS Certificate Chain Builder Prompt Token Estimator Mock Service Worker (MSW) API Mocking Guide Pulumi Modern IaC Guide HashiCorp Vault Secrets Management Guide AES Encryptor / Decryptor Casdoor Docker Layer Optimizer HTML5 Canvas API Playground Token Context Calculator GraphQL Client Configurator Axios Interceptor Builder OpenAI Function Calling Generator Token Counter & Cost Estimator AI API Rate Limit Calculator Password Strength Analyzer

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 →