Developer Tools

JWT Decoder

Decode and inspect JSON Web Token payloads

Reviewed: AnyCalc Editorial|2026-07-19|Editorial policy|About

What this calculator does

JSON Web Tokens (JWTs) are compact, URL-safe tokens used for authentication and information exchange in modern web applications. A JWT consists of three Base64-encoded parts: header, payload, and signature. This decoder splits a JWT into its components and displays the decoded header (algorithm and token type), payload (claims like subject, issuer, expiration, and custom data), and signature. It also validates expiration timestamps and shows whether the token is currently valid or expired. Developers use this tool when debugging authentication flows, inspecting tokens from OAuth providers, verifying token contents during API development, and understanding what data their tokens carry.

How to use

  1. 01
    Paste a JWT
    Enter your JSON Web Token string into the input field.
  2. 02
    Inspect the payload
    View the decoded header, payload claims, and expiration time.
  3. 03
    Verify details
    Check issuer, audience, and expiry claims to debug authentication issues.

JWT Decoder FAQ

Is it safe to decode a JWT in the browser?
Yes, decoding (reading) a JWT is safe because the header and payload are simply Base64-encoded, not encrypted. Anyone with the token can read its contents. Security comes from the signature, which verifies the token was not tampered with. Never put sensitive data like passwords in JWT payloads.
What is the difference between HS256 and RS256?
HS256 (HMAC-SHA256) uses a shared secret key for both signing and verification — both parties must know the secret. RS256 (RSA-SHA256) uses a private key to sign and a public key to verify. RS256 is preferred when the verifier should not be able to create tokens, such as in distributed microservice architectures.
How do I check if a JWT has expired?
The exp claim in the payload contains the expiration time as a Unix timestamp. Compare it to the current time. This tool automatically checks the exp claim and displays whether the token is currently valid or expired, along with the human-readable expiration date.

Interpret carefully

Outputs are decision-support estimates, not a substitute for professional judgment.

  • Treating JWT Decoder output as a final professional diagnosis, quote, or legal determination
  • Entering approximate values when the result is sensitive to units or precision
  • Applying the FAQ answer (“Is it safe to decode a JWT in the browser?”) to a special case without checking assumptions

Next steps

  1. Double-check inputs against your source documents (labs, statements, specs, or notes).
  2. Confirm the method below matches your use case before you act on the number.
  3. For medical, financial, or production decisions, verify with a qualified professional.

Disclaimer: Results are informational only and do not constitute medical, financial, legal, or professional advice. Report issues: sublimernj@gmail.com