JWT Generator & Verifier

Generate and verify JSON Web Tokens (JWT) with HS256 algorithm.

JWT Configuration

Result

About JSON Web Tokens (JWT)

JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object.

JWT Structure:

A JWT consists of three parts separated by dots (.):

  • Header: Contains the token type (JWT) and signing algorithm
  • Payload: Contains the claims (user data and metadata)
  • Signature: Used to verify the token hasn't been tampered with

Common Claims:

  • iss: Issuer
  • sub: Subject
  • aud: Audience
  • exp: Expiration time
  • iat: Issued at
  • nbf: Not before

Security Note: JWTs are signed, not encrypted. Don't put sensitive information in the payload unless you also encrypt the token. Always use HTTPS when transmitting JWTs.