πŸ” Developer Tools

JWT Encoder

Build and sign a JSON Web Token in seconds. Edit the header and payload, pick an algorithm, add your secret or private key, and get a ready-to-use signed JWT β€” all privately in your browser.

HMAC uses a shared secret. Switch algorithm to RS/PS/ES to sign with a PEM private key.

Signed JWT live

Your signed token will appear here…
Sign in the browser

Generate signed tokens with the Web Crypto API β€” no server, no libraries, no exposure of your keys.

Many algorithms

HMAC (HS), RSA (RS/PS), and ECDSA (ES) are all supported for real, verifiable signatures.

Quick claims

Add iat, exp, and nbf with one click, and format your JSON instantly.

Private by design

Your secret, private key, and generated token never leave your device.

How it works

ToolAdda base64url-encodes your header and payload, joins them with a dot, and signs that string with your secret or private key using the selected algorithm. The signature is appended to produce a complete header.payload.signature token that other services can verify.

Privacy notice

All signing happens locally in your browser. Your secret, private key, payload, and generated token are never uploaded, logged, or stored on any server.

Frequently asked questions

How do I generate a JWT?

Pick an algorithm, edit the payload with your claims, enter your secret or private key, and the signed token appears instantly on the right.

Are my secret and key safe?

Yes. Signing runs entirely in your browser with the Web Crypto API β€” nothing is sent anywhere.

What key format do RS/PS/ES need?

A PEM private key in PKCS#8 format (begins with -----BEGIN PRIVATE KEY-----).

Can I verify the token I created?

Yes β€” open it in our JWT Debugger and check the signature with the matching secret or public key.

Is it OK to store sensitive data in the payload?

No. The payload is only encoded, not encrypted, so anyone can read it. Keep only non-sensitive claims.

Which algorithm should I use?

HS256 is common for simple shared-secret setups; RS256 and ES256 are preferred when different parties verify with a public key.

Free online JWT encoder and signer

The JWT Encoder by ToolAdda lets developers quickly craft and sign JSON Web Tokens for testing authentication, APIs, and integrations. Edit the claims, choose the signing algorithm, and generate a valid token you can paste into requests or verify elsewhere β€” without installing anything or exposing your keys to a server.

How to use

  1. Choose your signing algorithm.
  2. Edit the header and payload claims.
  3. Enter your secret or private key and copy the signed token.

Benefits

  • Real, verifiable signatures for HS, RS, PS, and ES.
  • Live output with one-click copy.
  • Private, free, and no sign-up.