JWT Decoder

JWT decoder helps you decode JSON Web Tokens to view their header, payload, and signature instantly. This free online tool is useful for developers working with authentication, authorization, and APIs. Paste your JWT to inspect its contents in a readable JSON format without verifying or modifying the token.

Encoded Token
Header
Payload

1 How to use this tool

  1. Paste your JSON Web Token into the Encoded Token field.
  2. Or click Upload File to load a token from a file.
  3. The tool will automatically decode and display the Header and Payload.
  4. Optionally enter a secret to verify the token's signature.

2 Example

Encoded Token

1
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

Header

1
2
3
4
{
  "alg": "HS256",
  "typ": "JWT"
}

Payload

1
2
3
4
5
{
  "sub": "1234567890",
  "name": "John Doe",
  "iat": 1516239022
}

3 Benefits of using this tool

Debug Authentication

Easily verify token contents like expiration time, user roles, and issuer.

Signature Verification

Check if a token has been tampered with by verifying its signature locally.

4 Privacy and Security

This tool operates entirely in your browser. Your tokens and secrets are processed locally using JavaScript and are never sent to any external server. You can safely use this tool with sensitive tokens.

Related Tools

Need to generate a JWT? Use our JWT Generator.

Need to format JSON? Use our JSON Formatter.

Copied to clipboard!