Free JWT Decoder — Inspect JSON Web Token Claims Instantly
A JSON Web Token (JWT) is a three-part Base64-encoded string separated by dots: header, payload, and signature. This tool decodes all three parts and displays them as readable JSON — showing the algorithm, token claims (sub, iss, exp, iat), and expiry status. Your token is never sent to any server.
developer
Decode and inspect JSON Web Token header, payload, and signature.
- Decode JWT header and payload as readable formatted JSON
- Surfaces all standard claims — sub, iss, aud, exp, iat, nbf — plus custom claims
- Converts exp and iat Unix timestamps to human-readable dates
- Flags whether the token is currently valid, expired, or not yet active
- Displays the signing algorithm (HS256, RS256, ES256, etc.) from the header
- Token never leaves your browser — fully private, no server calls
Everything you need in one JWT Decoder
JWT decoder
Splits the token on its dots and decodes each Base64URL segment, rendering the header and payload as clean, readable JSON — no database lookup required.
Claims inspector
Surfaces standard claims — sub, iss, aud, exp, iat, nbf — plus any custom claims your application adds to the payload, all formatted for easy reading.
Expiry checker
Converts the exp and iat Unix timestamps to human-readable dates and clearly flags whether the token is still valid, expired, or not yet active (nbf).
Algorithm viewer
Reads the alg field from the header so you can confirm whether the token is signed with HS256, RS256, ES256, or another algorithm without leaving your browser.
How to use JWT Decoder
Paste your JWT
Paste the full JWT token (including all three dot-separated parts) into the input field.
Inspect decoded output
The header and payload are decoded and formatted as JSON. Expiry time is shown in human-readable format.
Check validity and claims
See if the token is expired, what algorithm was used, and all claims present in the payload.
Anatomy of a JSON Web Token — what each part contains
| Part | Contains | Common fields |
|---|---|---|
| Header | Token type and signing algorithm | alg, typ, kid |
| Payload | Claims — data about the user and token | sub, iss, aud, exp, iat, nbf |
| Signature | Cryptographic hash of header + payload | HMAC-SHA256 or RSA / ECDSA signature |
How to fix common syntax errors
Most “invalid JSON” failures come from a small set of mistakes. Paste the failing JSON above, click Validate, and the tool points you at the exact line and column.
header.payload (missing signature)A valid JWT must have exactly three dot-separated segments. Check for truncation or accidental deletion of the signature portion.
"Bearer eyJhbGc..."Remove the "Bearer " prefix before pasting. Paste only the raw token starting with "eyJ" — no surrounding quotes, no keyword prefix.
non-Base64URL charactersThe segment is corrupted, truncated, or contains invalid characters. Verify you copied the complete token from the source without modification.
exp timestamp in the pastThe exp claim has passed. Request a fresh token from your authorization server. Check your server clock if tokens expire unexpectedly fast.
decode-only in productionDecoding reveals the payload but does not prove the token is authentic. Always verify the signature server-side using the appropriate secret or public key before trusting any claim.
password or API key in claimsJWT payloads are Base64URL-encoded — anyone holding the token can decode them instantly. Never put secrets, passwords, or private keys in the payload. Use opaque tokens or encryption if confidentiality is required.
Frequently asked questions
A JSON Web Token (JWT) is a compact, URL-safe token format defined in RFC 7519, consisting of three dot-separated Base64-encoded parts: header (algorithm and token type), payload (claims such as user ID, expiry, and issuer), and signature. JWTs are the dominant format for stateless authentication in REST APIs and single-page applications — readable without a database lookup.
You might also need
Base64 Encoder / Decoder
Encode and decode Base64 strings instantly in your browser.
JSON Formatter & Validator
Format, validate, and minify JSON instantly in your browser.
Strong Password Generator
Generate cryptographically secure passwords instantly.
Regex Tester
Test regular expressions against strings with live match highlighting.
SQL Formatter
Format and beautify SQL queries with consistent indentation and keyword casing.
Cron Expression Builder
Build cron schedules visually and get the expression + plain-English explanation.
.env File Generator
Generate a boilerplate .env file for Laravel, Next.js, Node.js, or Docker.
.htaccess Generator
Generate Apache .htaccess rules for redirects, HTTPS, caching, and security headers.
Further reading
Authority documentation and specifications behind this tool.
Need this built into your product?
We design and build custom software — SaaS platforms, MVPs, AI agents, and web apps.
Custom SaaS Development
End-to-end SaaS — API, auth, billing, dashboard, deployment.
MVP Development
Working product in 6–8 weeks. Fixed price, committed timeline.
AI Agent Development
Custom AI agents and workflow automation for your stack.
Web App Development
Full-stack web apps built with modern frameworks and best practices.
Have a project in mind?
We turn ideas into production-ready software — SaaS, web apps, mobile, and AI agents. Fixed price. Committed timeline. No surprises.