ToolPal

JWT-Encoder

Erstellen Sie signierte JSON Web Tokens (JWT) mit benutzerdefinierten Payload-Claims. Signiert vollständig in Ihrem Browser mit HS256 (HMAC-SHA256).

AlgorithmusHS256
Schnell hinzufügen:
SchlüsselWert

Anleitung

Erstellen Sie signierte JSON Web Tokens (JWT) mit benutzerdefinierten Payload-Claims. Signiert vollständig in Ihrem Browser mit HS256 (HMAC-SHA256).

  1. 1Enter a secret key in the Secret field — use any string for testing, but never your real production secret.
  2. 2Edit the payload claims in the table. Click 'Add Claim' to add new key-value pairs.
  3. 3Use the Quick Add buttons to insert standard claims like iss (issuer), exp (expiration), or aud (audience).
  4. 4Click 'Generate Token' to sign the JWT using HMAC-SHA256 (HS256) in your browser.
  5. 5Copy the generated JWT and use it in your application, Postman, or API testing tool.

Funktionen

  • HS256 signing via Web Crypto API — runs entirely in your browser, nothing sent to servers
  • Editable payload claims table — add, remove, and edit any key-value claim
  • Smart type coercion — numbers and booleans are encoded as JSON types, not strings
  • Quick Add buttons for standard JWT claims (iss, exp, aud) with sensible defaults
  • Color-coded output matching the JWT Decoder — red header, purple payload, cyan signature

Häufig gestellte Fragen

Mehr erfahren