Generator
JWT Builder — Sign HS* Tokens Locally
- Build
- Decode
- Parse
- Mobile Friendly
- Accessibility Tested
- SEO Optimized
- Fast Loading
- Responsive
Version 1.0.0 · Last reviewed
How it worksShow guide
Introduction
Compose JWT header and payload claims, then sign with HMAC (HS256/384/512) in your browser. Add iss/sub/aud/jti and automatic iat/exp/nbf offsets for local testing.
Step-by-step
- Choose algorithm and secret encoding
- Edit claims or paste header/payload JSON
- Generate and copy the compact JWT
Worked example
HS256 with a UTF-8 secret and exp=3600 produces a three-part token that JWT Decoder can inspect.
Use cases
- Mint test access tokens for API clients
- Experiment with claim sets before server implementation
- Pair with JWT Decoder to inspect the result
Frequently asked questions
Is this for production auth?
No. Use it for local demos. Real auth should sign on a trusted server with proper key management.
What about RS256 / ES256?
This builder focuses on HS* (and unsigned none) via Web Crypto. Asymmetric algs can be added later.
Related tools
-
JWT Decoder
Decode JSON Web Token header and payload locally — no signature verification.
-
HMAC Generator
Compute HMAC-SHA digests locally with configurable key/message encodings, output formats, and optional timing-safe compare.
-
JSON Formatter
Beautify, minify, and validate JSON in your browser — private and free.
-
Base64 Encode / Decode
Encode text to Base64 or decode Base64 back to UTF-8 text in your browser.
Popular tools
-
API Workbench
Browser-native API client — build or paste cURL requests, inspect responses, manage collections, and store everything in IndexedDB. No backend required.
-
AES Encrypt / Decrypt
Encrypt and decrypt text with AES-GCM or AES-CBC locally. Passphrase (PBKDF2) or raw keys, custom IV/salt, and portable JSON packages.
-
Line Sorter & Deduplicator
Sort lines alphabetically or by length, remove duplicates, and trim empty lines — locally in your browser.
Was this helpful?
Your feedback stays on this device only — it is not sent to the Bestrao team yet.