Inspecteur de contenu JWT
Décodez en-tête et contenu localement. Signature et authenticité NON vérifiées. Ne partagez pas de jetons actifs.
Données
Astuce : Ctrl + Entrée pour lancer
Réglages enregistrés
L’aide détaillée ci-dessous n’est pour l’instant disponible qu’en anglais.
À propos de cet outil
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.
Mode d’emploi
- Paste the full token (three parts separated by dots).
- Run the decoder.
- Read the header (algorithm and type) and payload (claims).
- Convert numeric dates such as exp and iat with the Unix timestamp converter.
Fonctionnement du calcul
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 verificationExemple détaillé
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.
Exemple d’entrée et de résultat
{"sub":"demo"}Limites
- Signed JWTs (JWS) only; encrypted JWE tokens cannot be decoded.
- No signature or expiry validation.
- Up to 100,000 characters.
Dernière mise à jour:
Questions fréquentes
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.
Dépannage
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.
Confidentialité & Utilisation gratuite
Mes données sont-elles stockées ?
Vos données restent dans cet onglet. Nous ne recevons ni fichiers, ni textes, ni valeurs de calcul.
Cet outil est-il gratuit ?
Oui. Aucune inscription ni paiement requis.
Voir aussi
D’autres outils utiles
Formateur et validateur JSON
Validez, formatez ou réduisez le JSON localement, sans envoi.
Développement et SEOConvertisseur CSV en JSON
Convertissez CSV en JSON avec séparateurs et sauts de ligne entre guillemets.
Développement et SEOConvertisseur JSON en CSV
Convertissez un tableau d’objets en CSV. Les chaînes de type formule reçoivent un préfixe protecteur.
Développement et SEO