Skip to content

JWT Encoder & Signer

Create and sign JSON Web Tokens with HS256, HS384 or HS512.

5.0 (1 rating)
Signed token

Signing happens in your browser with the Web Crypto API. Don't paste production secrets into any website you don't trust.

Processing and privacy

Processing varies by tool. Check the instructions for local processing, server requests, external services and any file or request limits before entering sensitive information.

Read the privacy policy

Share this tool

Found it useful? Send it to a friend or teammate.

Rate this tool

5.0

1 rating

  • 5 stars 1
  • 4 stars 0
  • 3 stars 0
  • 2 stars 0
  • 1 star 0

Click a star to rate this tool

Clear instructions

Find steps, examples and limitations below.

Use online

Open the tool in a supported web browser.

Free to use

No sign-up required. Tool-specific limits may apply.

How to use the JWT Encoder & Signer

Create an HMAC-signed JWT from JSON payload data and a supplied secret.

  1. 1 Select HS256, HS384 or HS512 and enter a valid JSON payload.
  2. 2 Use the iat and exp helpers if appropriate, then enter a test secret and indicate whether it is Base64 encoded.
  3. 3 Copy Signed token and inspect it in your test environment.

Example and practical tips

Create a token with a fictional subject and short expiry for a local authentication test.

Frequently asked questions

Does this support RSA or elliptic-curve signing?

The available controls support the listed HMAC algorithms. They do not provide asymmetric-key signing.

Should I use a production signing key here?

Use test secrets. A live signing key grants significant authority and should stay within your controlled signing infrastructure.

  • How to Use JWT Encoder & Signer

    Create and sign JSON Web Tokens online with HS256, HS384 or HS512. Enter a JSON payload and secret to get a signed JWT. Free JWT generator for testing.

Browse all guides

Report an issue

Something broken or not quite right? Tell us and we will look into it.

Accessibility Menu

Personalize your experience. Open with Ctrl+U (Option+U on Mac). Preferences stay in this browser when storage is available.

Move / Hide Widget

Restore at any time with Ctrl+U (Option+U on Mac).

Accessibility statement and help