JWT Decoder
Decode a JSON Web Token and read its header and payload. The token never leaves your browser.
Updated · Free · No sign-up
Copy this code into your website or blog to show this tool there, free:
How to use the JWT Decoder
Type or paste your text into the first box. The result appears immediately in the second box, ready to copy or download. Replace the sample text with your own.
Worked example
Input:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
Output:
HEADER
{
"alg": "HS256",
"typ": "JWT"
}
PAYLOAD
{
"sub": "1234567890",
"name": "John Doe",
"iat": 1516239022
}
Frequently asked questions
What does the JWT Decoder do?
Decode a JSON Web Token and read its header and payload. The token never leaves your browser.
Is the JWT Decoder free to use?
Yes. It is free, needs no sign-up and works on phones, tablets and computers. Everything is calculated in your browser, so what you enter is not sent to or stored on a server.