JWT Decoder & Inspector
Decode a JSON Web Token to see its header, payload, claims, and expiration status.
Press Ctrl+Enter (Cmd+Enter on Mac) to decode
JSON Web Tokens (JWT) are an open standard (RFC 7519) for passing a JSON object between parties. The token is signed, so anyone with the key can check that nobody changed it.
Web apps, APIs, and microservices use JWTs for authentication and authorization. A JWT has three parts: a header that names the algorithm, a payload of claims, and a signature.
API debugging
Read the tokens an API returns while you debug a login flow
Auth troubleshooting
Check the claims, roles, and permissions in a token
Token inspection
See a token's signing algorithm and expiry time
Security audits
Check that a token doesn't carry data it shouldn't
What is a JWT token?
A JSON Web Token (JWT) is a compact, URL-safe string that carries claims from one party to another. It has three Base64URL-encoded parts separated by dots: a header, a payload, and a signature. Web apps commonly use JWTs for authentication and authorization.
Is it safe to decode JWT tokens online?
It depends on the tool. This decoder runs in your browser and never sends your token to a server.
Can this tool verify JWT signatures?
No. It decodes the token but does not verify the signature. Verification needs the secret or public key that signed the token, and you should not paste a signing secret into a web tool.
How do I check if a JWT token is expired?
Paste the token and look at the expiration status. The tool compares the 'exp' claim in the payload with the current time and tells you whether the token is unexpired, expired, or has no 'exp' claim.
What are the three parts of a JWT?
A JWT has three parts separated by dots. The header names the signing algorithm and token type. The payload holds the claims, such as user ID, roles, and expiration. The signature lets the server check that nobody changed the token.
Private by default
Decoding runs in your browser. Your tokens are never sent to a server.
Related tools
JSON Formatter
Format JSON online in your browser. Paste or upload JSON to tidy it with 2 or 4 space indents, find syntax errors, minify it or browse it as a collapsible tree.
JavaScript to JSON
Convert JavaScript object literals to valid JSON
JSON Merge
Merge two JSON objects online with a deep or shallow strategy and choose how arrays combine. Useful for config files and API responses. Free, no signup.