Decode a JWT Payload
The middle section of a JWT is Base64URL-encoded JSON.
Input
eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkFkYSBMb3ZlbGFjZSIsImlhdCI6MTUxNjIzOTAyMn0
Output
{"sub":"1234567890","name":"Ada Lovelace","iat":1516239022}How it works
JWT uses URL-safe Base64. Toggle the URL-safe mode and decode, you'll see the JSON payload. (Use the JWT Decoder tool for one-step decoding.)
Try it yourself
Open the full Base64 Encoder / Decoder to run this example on your own data.
Open Base64 Encoder / Decoder