Desenvolvimento
JWT Generator
Generate signed JSON Web Tokens (JWT) with HS256 using the WebCrypto API, right in your browser
Confiado por mais de 10 mil desenvolvedores
Security notice: Never include sensitive data in a JWT payload. JWTs are base64url-encoded, not encrypted — anyone can decode them. All signing happens locally in your browser.
Header
{
"alg": "HS256",
"typ": "JWT"
}
Payload
Quick-add standard claims:
Signature
Use a strong, random secret of at least 32 characters for HS256.
HMACSHA256(
base64UrlEncode(header) + "." +
base64UrlEncode(payload),
your-secret-key
)
base64UrlEncode(header) + "." +
base64UrlEncode(payload),
your-secret-key
)
Generated Token
Click "Generate JWT" to create a token
About JWT
- •JWTs consist of three Base64URL-encoded parts separated by dots.
- •HS256 uses a shared secret — keep it safe on your server.
- •The payload is readable by anyone — do not store passwords or PII.
- •Always set an
expclaim to limit token lifetime.
Continue explorando
Outras ferramentas de Desenvolvimento que você pode gostar…
Formatador JSON
Formate e valide JSON com realce de sintaxe
Experimentar
Base64 codificar/decodificar
Codifique e decodifique strings Base64
Experimentar
URL Encoder/Decoder
Encode and decode URL components and query strings
Experimentar
Gerador UUID
Gere identificadores UUID únicos
Experimentar
Hash Generator
Generate MD5, SHA-1, SHA-256, and SHA-512 hashes from text
Experimentar
Regex Tester
Test and debug regular expressions with match highlighting
Experimentar
JWT Decoder
Decode and inspect JWT token header and payload
Experimentar
HTML Formatter
Beautify and format HTML code with proper indentation
Experimentar