ASCII
Tools
Toggle theme
JWT Decoder/Encoder
Back to home page
Decode and encode JSON Web Tokens (JWT) with ease.
Back to home page
Decode a JWT
Paste an existing JWT below to see its Header and Payload decoded.
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI0MiIsIm5hbWUiOiJDYXB0YWluIEphY2sgU3BhcnJvdyIsImlhdCI6MTUxNjIzOTAyMn0.k4v1zDDfdy-DPzbWZ_KSl-pdK8aN-fEQJWVxtkiOcKo
Signature is valid
Encode a JWT
Enter Header JSON, Payload JSON, choose an algorithm and secret, then
Header (JSON):
{ "alg": "HS256", "typ": "JWT" }
Payload (JSON):
{ "sub": "42", "name": "Captain Jack Sparrow", "iat": 1516239022 }
Algorithm:
Secret / Key: