JWT Decoder
Decode JSON Web Tokens to inspect the header and payload. Debug authentication flows, check expiration times, and view user roles without verifying the signature.
Encoded token0 ln / 0 ch
Decoded output
Decoded header and payload will appear here.
ready
local / nothing uploadedAbout this tool
The JWT Decoder allows you to inspect the header and payload of a JSON Web Token. It is an essential tool for debugging authentication flows, checking token expiration times, and viewing user claims.
How to use it
- Paste your JWT token.
- The header and payload are decoded instantly.
- Copy the payload if needed.
Examples
Decoding a JWT
eyJhbG...
{
"alg": "HS256",
"typ": "JWT"
}Limits and notes
- Does not verify the cryptographic signature.
- Only supports signed JWTs (JWS), not encrypted ones (JWE).
Frequently asked questions
- Does this verify the token?
- No, it only decodes the Base64URL strings. Verification must be done on your server.
- Is it safe to paste my token?
- Yes, processing is local, but avoid pasting production tokens containing sensitive data.
Want the details? Read the full guide: Reading a JWT and Knowing What It Proves.
Related Tools
Base64 Encoder/DecoderEncode and decode Base64 strings safely. Supports full UTF-8 characters, emojis, and binary data. Ideal for debugging data URLs or API authentication headers.
URL Encoder/DecoderPercent-encode and decode URLs. Safely escape query parameters, path segments, or full URLs to ensure they are valid and won't break during browser routing or API requests.
JWT SignerCreate a signed JSON Web Token with HMAC SHA-256, SHA-384 or SHA-512. Encode the header and payload and sign it from a secret, entirely in your browser.
Env ValidatorCheck a .env file for duplicate keys, unclosed quotes, unquoted spaces and placeholder secrets before they break a deploy. Reports the line number of each problem.
JSON ValidatorValidate JSON syntax with detailed error messages. Catch trailing commas, missing brackets, and syntax errors instantly before sending payloads to your API.
JSON FormatterBeautify, validate, minify, and view JSON. Format messy API responses into readable code or compress it to save bandwidth, running safely in your browser.
JSON MinifierCompress JSON to a single line. Remove all unnecessary whitespace and line breaks to reduce payload size for production APIs without altering the underlying data.
JSON ViewerView JSON in an interactive, collapsible tree structure. Easily navigate massive API responses, expand specific nodes, and inspect deeply nested objects or arrays.