Transcode
Docs
InputText
OutputJSON

JWT Decode

Decode a JSON Web Token to read its header and payload.

Paste your input on the left and press Translate (or Ctrl/Cmd + Enter) to get the result on the right. Free, no sign-up.

Example

Input
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
Output
{
    "header": {
        "alg": "HS256",
        "typ": "JWT"
    },
    "payload": {
        "sub": "1234567890",
        "name": "John Doe",
        "iat": 1516239022
    },
    "times": {
        "issuedAt": "2018-01-18T01:30:22.000Z"
    }
}

Frequently asked questions

Does decoding verify the token?
No. Decoding only reads the contents. Verifying the signature needs the secret or public key and must be done by your server.
Is it safe to paste a token here?
Decoding happens in your browser, but avoid pasting live production tokens into any online tool.