Decodificador JWT gratuito
Decodifica cualquier JSON Web Token (JWT) para leer su cabecera y su payload al instante. Esta herramienta separa y decodifica el token en Base64URL para que puedas inspeccionar claims, caducidad y scopes sin pegar tu token en un servidor.
The payload it reveals should be checked against the JSON Formatter & Beautifier, and its signature scheme is documented alongside the Base64 to Hex Converter family of encoders. When the token needs to be reproduced for testing, the String Escape / Stringify tool handles the literal.
Cómo usar Decodificador de JWT
- 1 Paste a JWT — the three dot-separated parts.
- 2 Read the header and the payload, decoded and presented as JSON.
- 3 Check the expiry claim and compare it against the current time.
- 4 Remember that the signature is displayed but not verified here.
Cómo usarlo
Pega un JWT en el cuadro. La cabecera y el payload se decodifican y se muestran formateados al instante. Los claims de caducidad (exp, iat, nbf) aparecen como fechas legibles, así ves de inmediato si un token ha caducado.
- Decodifica cabecera y payload como JSON formateado
- Convierte los timestamps exp / iat / nbf en fechas
- Muestra la firma (no la verifica: solo decodifica)
- Todo funciona en local; tu token nunca se sube
Importante: decodificar no es verificar
Un JWT solo está codificado en Base64URL, no cifrado: cualquiera puede leer su contenido. Esta herramienta decodifica el token pero NO verifica la firma. Nunca trates un token decodificado como prueba de autenticidad; verifica siempre las firmas con el secreto o la clave pública del emisor en tu servidor. Como la verificación requiere un secreto, no puede hacerse de forma segura en una herramienta de navegador.
Preguntas frecuentes
Does decoding a JWT verify it?
No, and this is the most important thing to understand. Decoding base64url-encodes the payload, which anyone can do. Verification requires the secret or the public key and is a separate operation. A token that decodes cleanly may still be forged or expired. Never treat a decoded token as trustworthy without verifying its signature.
What claims and registered timestamps are extracted from the JWT payload?
The decoder parses all standard registered claims specified in RFC 7519, including exp (expiration time), nbf (not before), and iat (issued at), converting Unix epoch timestamps into human-readable UTC dates. It also decodes custom application claims, audience (aud), and subject (sub) identifiers formatted as clean JSON.
What are the three parts?
Header, payload and signature, separated by dots. The header describes the signing algorithm and token type. The payload carries the claims: subject, issuer, expiry and whatever else the application added. The signature is a cryptographic hash over the first two parts, which is what makes tampering detectable.
Herramientas para desarrolladores relacionadas
También te puede interesar
Herramientas de otras categorías que suelen combinarse con Decodificador de JWT: