{"category":"encoding","endpoint":"https://setget.net/v1/tools/jwt-decode","examples":[{"input":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"},"output":{"algorithm":"HS256","header":{"alg":"HS256","typ":"JWT"},"payload":{"iat":1516239022,"name":"John Doe","sub":"1234567890"},"signature":"SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c","times":{"iat":"2018-01-18T01:30:22Z"},"verified":false}},{"input":{"now":"2024-01-01T00:00:00Z","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI0MiIsIm5iZiI6MTY5OTk5NjQwMCwiZXhwIjoxNzAwMDAwMDAwfQ.c2lnbmF0dXJl"},"output":{"algorithm":"HS256","expired":true,"header":{"alg":"HS256","typ":"JWT"},"not_yet_valid":false,"now":"2024-01-01T00:00:00Z","payload":{"exp":1700000000,"nbf":1699996400,"sub":"42"},"signature":"c2lnbmF0dXJl","times":{"exp":"2023-11-14T22:13:20Z","nbf":"2023-11-14T21:13:20Z"},"verified":false},"title":"Checking expiry against a given time"}],"input_schema":{"additionalProperties":false,"properties":{"now":{"description":"The time to compare \"exp\" and \"nbf\" against, as an ISO 8601 time. Adds the \"expired\" flag. Left out, no comparison is made.","examples":["2026-01-31T12:00:00Z"],"maxLength":40,"type":"string"},"token":{"description":"The JWT to decode. Use a test or expired token, never a live one.","examples":["eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"],"maxLength":20000,"type":"string"}},"required":["token"],"type":"object"},"keywords":["jwt","jwt decode","decode jwt","json web token","jwt parser","bearer token","jwt payload","jwt expiry","id token","jwt debugger"],"related":["base64","hmac","json-format","uuid-inspect"],"slug":"jwt-decode","summary":"Decode the header and payload of a JSON Web Token and show its times, without verifying it.","tier":"inline","title":"JWT decoder","url":"https://setget.net/tools/jwt-decode"}
