Skip to content
Devkito

JWT Generator

Generate JSON Web Tokens for testing.

Runs on your machine. Nothing you paste is uploaded.

Download freePricing

Get JWT Generator and 121 other tools. Free for 7 days, no account needed.

JWT Generator in Devkito

What it does

Write a JSON header and payload, enter a secret, and get a signed JWT that updates as you type. Tokens are signed with HMAC using HS256, HS384, or HS512, picked from the alg field in your header.

Invalid JSON, a missing secret, or an unsupported algorithm each get a specific error message, so you know what to fix. Signing runs locally through the Web Crypto API and the secret is never saved between sessions. Even so, use a test secret rather than a production one.

When you would reach for it

  • Create a token with a custom role or scope to test how your API handles authorization.
  • Generate an already-expired token by setting exp in the past to check that your backend rejects it.
  • Produce sample tokens for API docs, Postman collections, or integration test fixtures.
  • Compare HS256 and HS512 output while setting up JWT verification in a new service.

Also found by searching