JWT HMAC Signer

Sign a payload as an HS256 token, or verify one, using a secret that stays in this tab.

  • 100% Free
  • No account required
  • Runs in your browser
  • No data is uploaded
Local saving paused

Private to this browser, not a cloud backup. Saves expire 7 days after the last save. Avoid saving sensitive data on shared devices.

Local saving is disabled for this sensitive tool. Use sanitized test data and clear the editor when finished.

Saved JWT HMAC Signer workspaces

Saved only on this device. Clearing browser data removes your workspaces. Expired saves are removed when this app next checks storage.

No saved workspaces for this tool yet.

JSON to Signed token

Input

Paste or edit your payload or token, then click “Run tool”.

Type, paste or drop a file
JSON
Ln 1, Col 1Spaces: 2UTF-837 bytes

Output

Signed token (read-only).

Read-only
JSON
Ln 1, Col 1Spaces: 2UTF-80 bytes
Ready when you arePaste your input, then press Run tool or ⌘ ↵

Using the JWT HMAC Signer

Overview

Sign a payload as an HS256 token, or verify one, using a secret that stays in this tab.

Create HS256 test tokens for local development, or check a token was signed with the secret you expect.

How to use it

  1. Paste or type your JSON into Input, drop a file onto it, or press Example to load a sample.
  2. Choose the settings in the Mode bar under the editors.
  3. Press Run tool, or ⌘ ↵ from anywhere on the page.
  4. Read the result in Output, then copy or download it. The Result tab has size, line counts and next steps.

Input

Payload or token.

Settings

  • Mode — Sign, Verify
  • HMAC secret

Output

Signed token.

  • Signs JSON payloads as HS256
  • Verifies HS256 signatures
  • Secret stays in this tab
  • Refuses algorithm downgrades

Tips

  • Decoding a token is not verifying it: anyone can read a JWT payload.
  • Use throwaway secrets and keys here, and clear the page when you finish.
  • The page warns you when an input looks like a real credential.

Keyboard shortcuts

⌘ ↵
Run the tool
⌘ K
Search every tool
/
Filter the sidebar