What is in a JWT
Three Base64URL parts separated by dots: header, payload and signature. The first two are plain JSON. See also Base64 Encode & Decode.
FAQ
Is it safe to paste my JWT here?
The decoding happens in your browser and the token is not uploaded. Still, avoid pasting live production tokens into any website if you can use an expired or test one.
Does this verify the signature?
No. It only decodes. Verifying a signature needs the secret or public key and should happen on your server.
What are exp, iat and sub?
exp is the expiry time, iat is when the token was issued, sub is the subject (usually a user id). Times are Unix seconds.
More tools
JSON FormatterPaste JSON to pretty-print it, find syntax errors with line and column, or minify it. Everything runs in your browser.JSON ValidatorPaste JSON to check it. You get a clear pass or the exact line and column of the first error.JSON MinifierRemove all unneeded whitespace from JSON and see how much smaller it gets.JSON to CSVPaste a JSON array of objects and get CSV. Nested objects become columns like address.city.Base64Encode text to Base64 or decode it back. Handles UTF-8, emoji and URL-safe Base64.