JWT Generator (HS256)
Create and sign JSON Web Tokens for testing.
Runs in your browserFree, no sign-up
Loading tool…
How to use it
- Edit the payload JSON.
- Type a secret and pick the algorithm and expiry.
- Copy the signed token.
About this tool
Write a payload, set a secret and an expiry, and get a token signed with HMAC SHA-256, 384 or 512. Signing uses the Web Crypto API in your browser. Pair it with the JWT Decoder to check tokens.
Your input is processed on your device. Nothing is sent to a server or stored.
Questions
Can I use these tokens in production?
Use them for testing. Production tokens should be signed by your server with a secret that never leaves it.
Developer
All developerMore tools like this
DeveloperCron Expression ExplainerRead a cron schedule in plain English and see the next runs.Open →DeveloperChmod CalculatorWork out Linux file permissions in numbers and letters.Open →DeveloperIP Subnet CalculatorCIDR to network, broadcast, mask and host range.Open →DeveloperHTTP Status CodesEvery HTTP status code with what it means and when to use it.Open →DeveloperUser Agent ParserSee the browser, OS and device behind a user-agent string.Open →DevelopercURL to Code ConverterConvert cURL commands to fetch, axios, Python or PHP.Open →DeveloperFake Data GeneratorTest data: names, emails, phones, addresses as JSON, CSV or SQL.Open →Developer.gitignore GeneratorBuild a .gitignore for Node, Next.js, Python, Java and more.Open →