Formatters

JWT Sign

Sign a JSON payload as an HS256 JWT.

How to use JWT Sign

JWT Sign — Sign a JSON object with HMAC-SHA256 and return a compact JWT. Free to use in D2i DevTools — no account required.

Steps

  1. Fill in Payload JSON. This field is required.
  2. Fill in HMAC secret. This field is required.
  3. Click Run and copy the result under the form.

Frequently asked questions

What is JWT Sign used for?

Use it to mint a test token when a local API expects an HS256 bearer token.

How do I use the free online JWT Sign tool?

Fill in Payload JSON. This field is required. Fill in HMAC secret. This field is required. Click Run and copy the result under the form.

What can I paste or upload into JWT Sign?

Paste a JSON object as the payload and the shared secret. The header is fixed to HS256.

What output does JWT Sign give me?

Three Base64url parts separated by dots. The signature covers the header and payload. The secret is not stored.

Is JWT Sign free, and is my input private?

Yes — Your input is processed in memory for this request only. It is not saved to disk or the database, and it is cleared after the tool finishes.

Does this check an existing token?

This page creates a token. Use JWT Decode to read a token you already have. That page does not verify the signature.

Inputs are processed in memory only and are not saved to disk or the database. Data exists only for the duration of your request.