🔐 JWT Token Decoder & Verifier

Decode JWT tokens to view header and payload, and verify signatures — a free JWT token decoder and verifier.

🔑 JWT Token No Token

📋 Header

Header will appear here...

📄 Payload

Payload will appear here...

🔒 Signature Verification

Upload a public key to verify RS256 signatures:

💡 Sample JWT Tokens

Try these examples to test the decoder:

About JWT Decoder & Verifier

Our free online JWT decoder and verifier helps developers inspect and validate JSON Web Tokens. Whether you're debugging authentication issues, verifying API tokens, or learning about JWT structure, our tool provides comprehensive token analysis.

Features

How to Use

  1. Paste your JWT token into the input area
  2. Click "Decode JWT" to view header and payload
  3. Upload a public key to verify signatures
  4. Review token information and expiry status
  5. Check for security warnings and recommendations

Common Use Cases

About this tool

Free Online JWT Decoder and Inspector

Paste any JSON Web Token to decode its header, payload, and signature — and inspect every claim. See the algorithm, expiry time, issuer, subject, and all custom claims in a readable format. Optionally verify the signature with a secret or public key. Everything runs in your browser; your token is never transmitted.

What is a JWT?

A JSON Web Token (JWT) is a compact, URL-safe token for transmitting claims between parties. It has three Base64URL-encoded parts separated by dots: the header (algorithm and token type), the payload (claims — user data and metadata), and the signature (cryptographic proof of authenticity).

After login, a server issues a JWT that the client includes in subsequent API requests via the Authorization: Bearer <token> header. The server verifies the signature and reads the claims without needing a session database lookup.

Standard JWT Claims

Is the JWT payload encrypted?

No. The header and payload are only Base64URL-encoded — not encrypted. Anyone who holds a JWT can decode and read its contents. Never store passwords, credit card numbers, or other secrets in a JWT payload. The signature proves authenticity; it does not hide the data.

What is the difference between HS256 and RS256?

HS256 (HMAC-SHA256) uses a single shared secret — the same key signs and verifies. RS256 (RSA-SHA256) uses a key pair: a private key signs and a public key verifies. RS256 is preferred for distributed systems where verification services should not have the signing key.

My token shows as expired — what does that mean?

The exp claim is a Unix timestamp. If the current time is past that value, the token is expired and the server should return 401. The client must refresh the token using a refresh token or prompt re-login.

Learn more: JWT Authentication Explained: How JSON Web Tokens Work

Related Tools

More Dev Tools

Base64 EncoderBcrypt GeneratorColor PickerCron ParserCSS MinifierCSV ⇄ JSON

Want more detail? Read JWT Authentication Explained: How JSON Web Tokens Work.