Como usar: Gerador de JWT
Gerador de JWT é uma ferramenta online gratuita de Ferramentas de segurança 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 instantaneamente no seu navegador. Cole seus dados, ajuste as opções e obtenha o resultado em tempo real — sem instalação, sem cadastro e sem enviar nada a servidores.
Descrição
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.
- Ferramentas de segurança
- Como tudo roda no cliente, Gerador de JWT é seguro para dados sensíveis como chaves de API e tokens.
Como usar
Usar Gerador de JWT leva três passos:
- Cole os dados na caixa de entrada (ou carregue o exemplo).
- Configure as opções para o formato desejado.
- Copie, baixe ou inspecione a saída — atualiza ao digitar.
Executar
Exemplos
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).
Saída(由工具此刻实时生成)
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
Situações comuns onde Gerador de JWT ajuda:
- 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 ferramenta não tem opções — atua apenas sobre a entrada.
Perguntas frequentes
O que é JWT Generator?
JWT Generator serve 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. Roda inteiramente no navegador, mantendo seus dados privados.
É gratuito?
Sim, sem limites, sem cadastro nem instalação.
Meus dados são enviados?
Não. Tudo é processado localmente no seu navegador.
O que saber
- 全部计算在浏览器端完成,因此超大输入受限于标签页内存,而非服务器上传限制。