Cómo usar: Generador de JWT
Generador de JWT es una herramienta online gratuita de Herramientas de seguridad que sign and verify JSON Web Tokens entirely in your browser — HS256, HS384, HS512, RS256 and ES256 run on your own WebCrypto, fresh RSA-2048/EC P-256 pairs export as PKCS#8 and SPKI PEM, exp/iat come back as human dates, and the unsigned "none" algorithm is refused by design. Nothing is uploaded al instante en tu navegador. Pega tus datos, ajusta las opciones y obtén el resultado en tiempo real: sin instalación, sin registro y sin subir nada a un servidor.
Descripción
Sign and verify JSON Web Tokens entirely in your browser — HS256, HS384, HS512, RS256 and ES256 run on your own WebCrypto, fresh RSA-2048/EC P-256 pairs export as PKCS#8 and SPKI PEM, exp/iat come back as human dates, and the unsigned "none" algorithm is refused by design. Nothing is uploaded.
- Herramientas de seguridad
- Como todo se calcula en el cliente, Generador de JWT es seguro para datos sensibles como claves API o tokens.
Cómo usar
Usar Generador de JWT requiere tres pasos:
- Pega tus datos en la caja de entrada (o carga el ejemplo).
- Ajusta las opciones al formato o escenario deseado.
- Copia, descarga o revisa la salida: se actualiza mientras escribes.
Ejecutar
Ejemplos
Builds a signed HS256 token whose exp (2030-01-01 UTC) is shown with its human UTC/local time. Secrets never leave the browser and the unsigned "none" algorithm is refused by design — for inspecting foreign tokens use the Decoder / Verifier pages (the loopback pair of this generator).
Salida(由工具此刻实时生成)
Signed with HS256 — the token below is the compact serialization:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIyNjE3MyIsInN1YiI6ImRlbW8iLCJleHAiOjE4OTM0NTYwMDB9.-ZCXzFd37b5ZNaDyjyUHfPXEyKzs9ta4TTj5AyO5xpE
Header: {"alg":"HS256","typ":"JWT"}
Payload: {"iss":"26173","sub":"demo","exp":1893456000}
Claim times (your browser clock):
Expires at: 1893456000 = 2030-01-01T00:00:00.000Z UTC | local: Tue Jan 01 2030 00:00:00 GMT+0000 (Coordinated Universal Time) -> still valid
Paste the token into the Verify mode on this same page (or the JWT Verifier page) to check it; to inspect claims without verifying use the JWT Decoder page. Everything ran in your browser — the secret and key never left this machine.
此输出由工具真实运行产生,并非人工编写。
Casos de uso
Situaciones habituales donde Generador de JWT ayuda:
- Sign and verify JSON Web Tokens entirely in your browser — HS256, HS384, HS512, RS256 and ES256 run on your own WebCrypto, fresh RSA-2048/EC P-256 pairs export as PKCS#8 and SPKI PEM, exp/iat come back as human dates, and the unsigned "none" algorithm is refused by design. Nothing is uploaded.
Parámetros
Esta herramienta no tiene opciones: trabaja solo con la entrada.
Preguntas frecuentes
¿Qué es JWT Generator?
JWT Generator sirve para sign and verify JSON Web Tokens entirely in your browser — HS256, HS384, HS512, RS256 and ES256 run on your own WebCrypto, fresh RSA-2048/EC P-256 pairs export as PKCS#8 and SPKI PEM, exp/iat come back as human dates, and the unsigned "none" algorithm is refused by design. Nothing is uploaded. Funciona íntegramente en tu navegador, así tus datos siguen siendo privados.
¿Es gratuito?
Sí, sin límites, sin registro y sin instalación.
¿Se suben mis datos?
No. Todo se procesa localmente en tu navegador.
A tener en cuenta
- 全部计算在浏览器端完成,因此超大输入受限于标签页内存,而非服务器上传限制。