GlobalUso gratuito

Inspetor de payload JWT

Decodifique cabeçalhos e payloads JWT localmente. Assinaturas e autenticidade NÃO são verificadas. Não compartilhe tokens ativos.

Seus dados ficam nesta aba. Não recebemos seus arquivos, textos colados nem valores de cálculo.

Entrada

Dica: pressione Ctrl + Enter para executar

Seu resultado

Seu resultado aparecerá aqui.

Por enquanto, a ajuda detalhada abaixo está disponível apenas em inglês.

Sobre esta ferramenta

A JSON Web Token (JWT) has three Base64URL-encoded parts separated by dots: a header, a payload of claims and a signature. When debugging authentication you often need to see what is inside: who the token is for, when it expires, which algorithm signed it. This inspector decodes the header and payload locally and shows them as formatted JSON.

It deliberately does not verify the signature, so it cannot tell you whether a token is genuine. Do not paste live production tokens into tools you do not trust; this one runs entirely in your browser.

Como usar

  1. Paste the full token (three parts separated by dots).
  2. Run the decoder.
  3. Read the header (algorithm and type) and payload (claims).
  4. Convert numeric dates such as exp and iat with the Unix timestamp converter.

Como o cálculo funciona

The token is split on dots; the first two parts are Base64URL-decoded and parsed as JSON. The signature part is ignored.

base64url(header) + base64url(payload); NO signature verification

Exemplo prático

Decoding a test token shows the header {"alg": "HS256", "typ": "JWT"} and the payload {"sub": "1234567890", "name": "Ada", "exp": 1792400000}. The exp value is a Unix timestamp in seconds, which you can convert to a date to see when the token expires.

Exemplo de entrada e resultado

{"sub":"demo"}

Limitações

  • Signed JWTs (JWS) only; encrypted JWE tokens cannot be decoded.
  • No signature or expiry validation.
  • Up to 100,000 characters.

Última atualização:

Perguntas frequentes

Does it check whether the token is valid?

No. Verifying a signature requires the secret or public key, which should never be pasted into a website.

Is the payload encrypted?

No. Standard JWTs are only encoded, so anyone holding the token can read the claims. Do not put secrets in JWT payloads.

What are exp, iat and nbf?

Expiry, issued-at and not-before times, as Unix seconds.

Solução de problemas

It reports an invalid token.

Remove the "Bearer " prefix and any quotes, and make sure all three parts are present.

The payload looks like random text.

The token may be encrypted (JWE, five parts) rather than signed.

The expiry seems wrong.

exp is in seconds, not milliseconds. Convert with the Unix timestamp converter in seconds mode.

Privacidade & Uso gratuito

Meus dados são armazenados?

Seus dados ficam nesta aba. Não recebemos seus arquivos, textos colados nem valores de cálculo.

Esta ferramenta é gratuita?

Sim. Não é preciso cadastro nem pagamento.

Processado no seu navegador

Próximos passos úteis