Swelıty
Tools for everyone

Free Online JWT Decoder

Decode and inspect JSON Web Tokens (JWT). View the header, payload, and signature.

JWT input

Decoded JWT

Header

{
  "alg": "HS256",
  "typ": "JWT"
}

Payload

{
  "sub": "1234567890",
  "name": "John Doe",
  "iat": 1516239022
}

Signature (Base64URL)

SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

Note: The signature is extracted for inspection but is not verified.

Security Note: This tool only decodes the contents of the JWT. It does not verify the signature or validate the token's authenticity. Decoding a JWT locally does not prove that its contents are trustworthy.

How to use

  1. Paste your encoded JWT string (which usually consists of three dot-separated Base64 segments).

  2. The tool parses the token and displays the decoded Header and Payload JSON.

  3. Review the claims (like expiration times and user IDs).

Why use this tool

  • Instant Inspection

    Unpack and view JWT headers and payloads in real-time.

  • Formatted Output

    View neatly formatted JSON to easily read token claims and expiration times.

About this tool

The JWT Decoder unpacks JSON Web Tokens so you can inspect their header and payload claims. It is an indispensable debugging tool for frontend and backend developers working with modern authentication and authorization systems.

Frequently asked questions

No, this tool simply decodes the Base64 payload for inspection. It does not cryptographically verify the token's signature.

No, this tool decodes standard signed JWTs (JWS), not fully encrypted tokens.

Yes, it pretty-prints the decoded header and payload for easy reading.

Yes, you can easily inspect the 'exp' claim in the payload.

A JWT consists of a Header (algorithm info), a Payload (the actual claims/data), and a Signature (used to verify authenticity).

Yes! JWTs are merely Base64 encoded, not encrypted. You should never put sensitive information (like passwords) inside a JWT payload.

If you are testing locally, ensure you are using the exact same secret key and algorithm that the server used to sign the token.