.env · security

Zufälliger JWT Secret Generator — HS256, HS384, HS512 (base64)

Generiere sofort einen zufälligen JWT-Secret-Key — base64url-kodiert, korrekte Byte-Länge für HS256, HS384 und HS512. 100% client-seitig.

Be the first to rate
base64url-encoded · crypto.getRandomValues · in-browser only
HS256 (32 bytes)
Minimum for HMAC-SHA256
Secret
.env line
JWT_SECRET=
HS384 (48 bytes)
HMAC-SHA384 — recommended default
Secret
.env line
JWT_SECRET=
HS512 (64 bytes)
Maximum entropy for HMAC-SHA512
Secret
.env line
JWT_SECRET=
CLI alternatives
HS256
openssl rand -base64 32
HS384
openssl rand -base64 48
HS512
openssl rand -base64 64
Full tool page:/jwt-secret-generator