Skip to content
Takikit

JWT Generator

Sign a JSON Web Token with HS256, HS384 or HS512 from your own payload to test an API during development.

Loading tool...

Runs in your browser. Nothing is sent anywhere.

When to use it

Use this while building a backend when you need a token with a custom role and expiry to call protected APIs, or to test the expired token case without running the whole login flow.

Only HS256, HS384 and HS512 with a shared secret are supported; RS256 or ES256 need a private key and are not handled here. The expiry buttons rewrite both iat and exp, and secrets under 32 characters trigger a warning.

How to use

  1. Edit the JSON payload and set an expiry.
  2. Enter the secret key.
  3. Copy the token.

Frequently asked questions

Is the data I paste sent to a server?

No. The tool runs in JavaScript right in your browser, and Takikit has no server that receives data. You can turn off your internet after opening the page and the tool will still work.

Is it safe to paste a token or secret key here?

Takikit does not send them anywhere. Still, for keys of a live production system the safest approach is not to paste them into any website unless you really have to, and to rotate the key right away if it is exposed.

Related tools

More Developer tools

See all developer tools