UTILS.
Private by default
JWT+

JWT Generator

Create a signed HS256 JSON Web Token from a JSON payload and a secret.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
HS256 only — header is fixed to {"alg":"HS256","typ":"JWT"}.
— output appears here —

About this tool

Build a signed HS256 JSON Web Token in your browser, encoding the header and payload as base64url and signing them with HMAC-SHA256 via the WebCrypto API.

Frequently asked questions

Which algorithm does it use?
Only HS256 (HMAC with SHA-256). The header is fixed to {"alg":"HS256","typ":"JWT"} and signed with your secret.
Is my secret sent anywhere?
No. The token is built and signed entirely on your device using WebCrypto, and nothing leaves the browser.

More tools