JWT Decoder

Decode and inspect a token's JSON payload and header.

Token
HeadereyJhbGciOiJIUzI1NiIsInR5cCI6…
.
PayloadeyJzdWIiOiIxMjM0NTY3ODkwIiwi…
.
Signaturenmm0qepYRjhNji3O-jq8Pvcr7l_m…
Issued 1/18/2018, 1:30:22 AM
Header (decoded)
Payload (decoded)

JWT Decoder & Inspector Online

JSON Web Tokens (JWT) are an open standard used to share security information between two parties. Our JWT Decoder allows you to easily inspect and decode the Base64Url encoded Header and Payload of a JSON Web Token instantly in your browser.

Privacy First: StackInterview protects your data. All decoding happens locally in your browser. No data is sent to a server.

Core Features

  • Instant DecodingPaste a token to instantly view the parsed JSON header and payload in real-time.
  • Syntax HighlightingThe decoded output is formatted and color-coded, making it easy to read complex nested JSON structures.
  • Secure & LocalEverything happens locally using WebAssembly and client-side JavaScript, ensuring enterprise-grade performance and privacy.

Example

Input (Raw JWT)
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
Decoded Header
{
  "alg": "HS256",
  "typ": "JWT"
}
Decoded Payload
{
  "sub": "1234567890",
  "name": "John Doe",
  "iat": 1516239022
}

Related Tools

Categories

Quick Tips

  • Never store sensitive or Personally Identifiable Information (PII) in a JWT payload.
  • Always verify the signature of a JWT on your backend before trusting its claims.
  • Keep the lifespan of your tokens short by setting the exp claim.