Inspector de contenido JWT
Decodifica cabecera y contenido localmente. NO verifica firma ni autenticidad. No compartas tokens activos.
Entrada
Consejo: Ctrl + Intro para ejecutar
Ajustes guardados
Por ahora, la ayuda detallada de abajo solo está disponible en inglés.
Acerca de esta herramienta
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.
Cómo usarla
- 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.
Cómo funciona el cálculo
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 verificationEjemplo práctico
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.
Entrada y resultado de ejemplo
{"sub":"demo"}Limitaciones
- Signed JWTs (JWS) only; encrypted JWE tokens cannot be decoded.
- No signature or expiry validation.
- Up to 100,000 characters.
Última actualización:
Preguntas frecuentes
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.
Solución 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.
Privacidad & Uso gratuito
¿Se guardan mis datos?
Tus datos permanecen en esta pestaña. No recibimos archivos, textos ni valores de cálculo.
¿Esta herramienta es gratis?
Sí. No requiere registro ni pago.
Ver también
Otras herramientas útiles
Formateador y validador JSON
Valida, formatea o minimiza JSON localmente, sin envíos.
Desarrollo y SEOConversor CSV a JSON
Convierte CSV a JSON con separadores y saltos entre comillas.
Desarrollo y SEOConversor JSON a CSV
Convierte una matriz de objetos a CSV. Los textos tipo fórmula reciben un prefijo protector.
Desarrollo y SEO