54 chars · 1 line
Needs attention
54 chars · 1 line
Needs attention
JWT payload encoding error
The second compact JWT segment must use canonical Base64URL text. Invalid alphabet characters, whitespace, bad lengths, or non-canonical bits stop the decoder before it can parse claims such as sub, iat, or exp. This tool is free to use. No account or payment is required.
Last updated
Until the payload bytes decode cleanly, claim-level troubleshooting such as expiration, subject, issuer, or audience cannot begin. Encoding and JSON are separate validation layers.
The dollar sign makes the payload segment invalid Base64URL.
bad$eyJzdWIiOiIxMjMifQCommon questions
That may change or misunderstand the original bytes. For a signed token, regenerate it correctly at the source rather than repairing production credentials by hand.
No. Decoding only reveals claim data. Trust requires signature and policy validation.
JWT commonly omits Base64URL padding, and this decoder enforces canonical segment encoding rather than accepting multiple textual representations.
Debugging a specific JWT issue? Browse JWT troubleshooting.