50 chars · 1 line
Needs attention
50 chars · 1 line
Needs attention
JWT structure error
A token can contain two dots and still be malformed when the text between two separators is empty. The decoder rejects an empty header, payload, or signature before attempting to decode claims. This tool is free to use. No account or payment is required.
Last updated
The decoder checks both the number of segments and whether each segment contains data. This prevents an empty payload or signature position from being mistaken for a valid compact JWT.
Two separators are present, but the payload between them is missing.
header..signatureheader.payload.signatureCommon questions
Because the middle payload segment is empty. The decoder requires three non-empty segments.
That would create different token bytes and would not restore the originally issued JWT or its valid signature.
This decoder intentionally requires a non-empty third segment and does not use decoding as a substitute for verification.
Debugging a specific JWT issue? Browse JWT troubleshooting.