OneKitTools logoOneKitTools

JWT Builder

Create custom JSON Web Tokens with payload editor, HMAC signing, and expiration helper

About JWT Builder

Create custom JSON Web Tokens with a visual payload editor, HMAC signing, and expiration helper — perfect for API testing and development.

How to use JWT Builder

  1. 1Select the signing algorithm (HS256, HS384, or HS512) in the header section.
  2. 2Enter your secret key — this is used to sign the token.
  3. 3Add payload claims using the claim editor: standard claims (sub, iss, aud) or custom ones.
  4. 4Use the expiration helper to set the 'exp' claim with a human-readable duration (1h, 24h, 7d, etc.).
  5. 5Click 'Generate JWT' to create the signed token. Copy it for use in your API requests.

Tips

  • Never use weak secrets in production — use a random string of at least 256 bits (32 bytes).
  • Always set an expiration (exp) claim — tokens without expiration are a security risk.
  • Use the decoded payload preview to verify your claims before using the token in your application.

Related tools

OneKitTools TeamUpdated 2.21.4