JWT Decoder
Decode and analyze JSON Web Token
Header
Payload
Signature
🔑 About JWT
JWT (JSON Web Token) là một chuẩn mở (RFC 7519) định nghĩa cách truyền thông tin an toàn giữa các bên dưới dạng JSON object. JWT thường được sử dụng cho authentication và information exchange.
Note: Tool này chỉ decode JWT, không verify signature. Không nhập JWT chứa thông tin nhạy cảm vào công cụ online.
JWT Decoder — Inspect Tokens Online
The JWT decoder online tool by VSM lets you paste any JSON Web Token and instantly view its decoded header, payload claims, and signature section in clean, formatted JSON — making it effortless to debug authentication flows, inspect expiry times, and understand token structure without writing a single line of code.
Benefits of the JWT Decoder
- Instantly splits any JWT into its three parts — header, payload, and signature — and renders each as pretty-printed JSON.
- Runs entirely in your browser: your token is never transmitted to any server, keeping sensitive data private.
- Highlights key claims such as
exp,iat, andnbfso you can spot expiry issues at a glance. - Eliminates the need for custom scripts or third-party libraries just to read a token during development.
- Completely free with no usage limits, no sign-up, and no installation required.
Use cases for the JWT Decoder
- Inspecting access tokens and refresh tokens when integrating OAuth 2.0 or OpenID Connect providers.
- Verifying user claims — such as sub, roles, or scope — while troubleshooting authorization failures in REST or GraphQL APIs.
- Reading user profile data embedded in a JWT without making an additional API call to the userinfo endpoint.
- Confirming whether a token is expired before sending it to a backend service to avoid unnecessary 401 errors.
- Analyzing tokens issued by platforms like Auth0, Firebase Auth, AWS Cognito, or Keycloak to understand their claim structure.
- Teaching or learning how JWT-based authentication works in modern web and mobile applications.
How to use the JWT Decoder
- Copy your JWT string — it looks like
xxxxx.yyyyy.zzzzz— from your app, browser DevTools, or server logs. - Paste it into the input field on this page; the tool decodes and displays all three sections immediately.
- Review the Header to identify the signing algorithm (e.g., HS256, RS256) and token type.
- Check the Payload for claims like user ID, permissions, issue time, and expiration timestamp.
- Note that the Signature section is shown as-is — full cryptographic verification requires the secret or public key and is not performed here.
Frequently asked questions
Is the payload of a JWT encrypted? No. JWT payloads are Base64Url-encoded, not encrypted. Anyone who holds the token can read its contents, so you should never store passwords or sensitive secrets inside a JWT payload.
Does this tool verify the JWT signature? No — signature verification requires knowledge of the secret key or the corresponding public key. This tool decodes and displays the content of each section without validating the cryptographic signature.
Is my token sent to VSM servers? Never. All decoding is handled by client-side JavaScript running directly in your browser, so your token stays on your device throughout the entire process.
Which JWT algorithms are supported? The decoder handles any standard JWT conforming to RFC 7519, regardless of the signing algorithm — including HS256, HS384, HS512, RS256, RS384, RS512, and ES256 variants.