Decodificador JWT

Decodifica tokens JWT: cabeçalho, payload e expiração

Inspect JWT claims without touching production

Authentication bugs are often token bugs — a missing claim, a wrong audience, an expired exp, the wrong algorithm. Decoding a JWT in the browser shows you the header, payload, and expiry instantly without sending the token to any server, so you can debug login, authorization, and API access issues with confidence.

Use the decoder when you need to

Debug an expired or rejected token

Look at the exp, nbf, and iat claims to confirm whether the token is past its lifetime or not yet valid.

Verify the claims your backend expects

Check that the audience, issuer, scopes, and custom claims match what your authorization layer requires.

Audit a token before pasting it into a ticket

Decode the payload to confirm there's nothing sensitive inside before sharing the token in a bug report.

How to decode a JWT quickly

  1. 1

    Paste the JWT (the long string with two dots) into the input field.

  2. 2

    Inspect the decoded header, payload, and expiry status.

  3. 3

    Copy specific claims or the full payload for use in a bug report or test.

Common JWT debugging workflows

Diagnose 401 errors from an API

Decode the token to see if the expected claim is missing or the audience is wrong.

Check token expiry during integration

Confirm a freshly minted token's expiry matches your auth provider's configured lifetime.

Audit roles and scopes

Verify the user has the right scopes before troubleshooting authorization in your code.

Ferramentas relacionadas

Perguntas frequentes

Cole o JWT completo (a string longa com dois pontos separando três partes) no campo de entrada. A ferramenta decodifica instantaneamente o header (algoritmo, tipo) e o payload (claims, expiração, emissor) sem precisar de nenhuma secret key.

Sim. A decodificação acontece totalmente no seu navegador usando JavaScript — nenhum dado é enviado para servidor. JWTs são codificados (Base64URL), não criptografados, então decodificar não exige sua secret key.

Um JWT tem três partes em Base64URL separadas por pontos: o Header (algoritmo e tipo do token), o Payload (claims como ID do usuário, expiração, roles) e a Signature (prova criptográfica de que o token não foi adulterado).

Cole o token e veja a claim exp (expiration) no payload decodificado. A ferramenta mostra o timestamp Unix bruto e uma data legível, além de um indicador informando se o token já está expirado.