alg
Algorithm header claim specifying how the signature was created (e.g. HS256, RS256, ES256). Must match your verification method.
Quick Answer
See our full JWT Glossary for related terms, or use the JWT Decoder to inspect tokens in practice.
What is alg?
Algorithm header claim specifying how the signature was created (e.g. HS256, RS256, ES256). Must match your verification method.
See It in Practice
Paste any JWT into our JWT Decoder to see related claims in action. Use the JWT Debugger for detailed analysis.
Related
Browse the full JWT Glossary or explore JWT Basics.
alg in JWT Authentication
Understanding alg helps you read RFC 7519, debug tokens, and design secure authentication. JWTs combine header, payload claims, and a cryptographic signature.
Browse related resources: JWT Decoder, JWT Validator, JWT Basics, JWT Authentication, JWT Errors, Algorithms, Glossary, and Learning Path.