JWT Generator

Generate JSON Web Token online. Supports HS256/384/512, RS256/384/512, ES256/384, EdDSA algorithms with custom claims.

Signing Configuration

Symmetric signing key. Verifiers must hold the same value.
Calculated from the moment of generation

Generated Result

Fill in the configuration and click the "Generate JWT" button

Usage

JWT (JSON Web Token) is an open standard (RFC 7519) for securely transmitting claims between two parties, consisting of three segments — Header, Payload, and Signature — joined by ..

  • HS256/384/512: HMAC symmetric signing; signing and verification use the same key
  • RS256/384/512: RSA asymmetric signing; private key signs, public key verifies
  • ES256/384: ECDSA elliptic curve signing; smaller public key, high performance
  • EdDSA: Ed25519 modern signing algorithm balancing performance and security
  • Standard claims: iss (issuer), sub (subject), aud (audience), exp (expiration), iat (issued at) are auto-filled
  • Custom claims: enter in JSON format, will be merged with standard claims
  • For asymmetric algorithms, click "Generate Key Pair" to auto-create a private and public key

Note: This tool generates tokens entirely in the browser; no data is sent to any server. Keep your private key safe and never leak it.