Skip to content
toolbelt

JWT Signer

Create a signed JSON Web Token with HMAC SHA-256, SHA-384 or SHA-512. Encode the header and payload and sign it from a secret, entirely in your browser.

read guide
algorithmsecret
payload (json)5 ln / 63 ch
signed token
readyhmac only / secret never leaves this page
local / nothing uploaded

About this tool

Create a signed JWT locally. Paste a JSON payload, choose HS256, HS384 or HS512, enter the secret, and copy the finished token. The secret is used only in the page and is never stored or sent.

How to use it

  1. Paste your payload as JSON.
  2. Pick the HMAC algorithm.
  3. Enter the signing secret.
  4. Press Sign and copy the token.

Examples

A minimal token

{"sub":"123","name":"Ada"}
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.…

Limits and notes

  • Only HMAC algorithms are supported; RS256 and ES256 need a private key.
  • The secret is held in memory for the life of the tab.

Frequently asked questions

Can I verify a token here?
Not on this page. Use the JWT Decoder to inspect one, and verify signatures in code you control.
Is the payload encrypted?
No, it is base64url encoded and readable by anyone holding the token.
Which exp should I set?
exp is a number of seconds since the Unix epoch. Many libraries reject a token without one.
Why does my server reject the signature?
Common causes are a secret mismatch, a different algorithm, or padding added to the signature segment.

Want the details? Read the full guide: Signing a JWT and Understanding What You Prove.