JWT Generator
Generate signed JSON Web Tokens (JWT) with custom payloads and signing algorithms.
Algorithm
HS256
Secret Key
Payload (JSON)
Generated Token
How to use
- Select a signing algorithm (e.g., HS256, RS256).
- Enter your Secret Key (for HS algorithms) or Private Key (for RS/ES algorithms).
- Edit the Payload JSON to include your desired claims.
- Click 'Generate Token' to create the signed JWT.
- Copy the generated token for use in your application.
About JWT Generation
Generating a JWT involves creating a JSON payload, specifying claims, and signing it with a secret or private key.
Algorithms
HS256 (HMAC with SHA-256) uses a symmetric secret key. RS256 (RSA Signature with SHA-256) uses an asymmetric private key.
Security
Never share your secret key or private key. This tool runs entirely in your browser; keys are not sent to any server.
Expiration
It is best practice to include an expiration (exp) claim to limit the token's lifetime.