50 chars · 1 line
75 chars · 8 lines
50 chars · 1 line
75 chars · 8 lines
JWT header troubleshooting
The JWT header can be valid JSON even when it does not contain an alg member. This decoder therefore shows the header object but reports Algorithm: Unknown and keeps the token unverified rather than turning missing metadata into a JSON parsing error. This tool is free to use. No account or payment is required.
Last updated
The header is still a JSON object, so decoding succeeds. Algorithm: Unknown is a display status showing that the expected string metadata was not available.
The typ member decodes normally, but no algorithm string is available.
{"typ":"JWT"}Algorithm: UnknownCommon questions
Because the segment still decodes to a valid JSON object. The missing alg field is a semantic header issue, not malformed JSON.
No. Guessing would hide token-generation problems and is not a safe verification strategy.
No. They remain unverified until a trusted verifier validates the token.
Debugging a specific JWT issue? Browse JWT troubleshooting.