🎫 Decodificador JWT

Decodifica JSON Web Tokens (JWT) para inspeccionar la cabecera, la carga útil y la firma - completamente en el navegador.

¿Qué es un JSON Web Token (JWT)?

JWT es un estándar seguro (compatible con URL) para representar reclamaciones (claims) entre dos partes. A menudo se utilizan para la autenticación en aplicaciones.

Estructura del JWT

  • Cabecera: Contiene el algoritmo de la firma. Contains the signing algorithm (e.g., HS256, RS256) and token type.
  • Carga útil: Contiene reclamaciones y otros metadatos. Contains claims — statements about the user and additional metadata.
  • Firma: Verifica que el token sea auténtico. Verifies the token hasn't been tampered with. Created using the header, payload, and a secret key.

Preguntas Frecuentes

¿Es seguro decodificar un JWT aquí?

¡Sí! Esta herramienta se ejecuta completamente en tu navegador web. Tu token no se envía nunca a un servidor.

¿Qué significa la expiración del token?

La reclamación 'exp' indica cuándo expira el token. A partir de esa fecha, el servidor lo rechazará.

Decodes JSON Web Tokens showing header, payload, and signature without requiring the secret key, for debugging auth flows.

Key Facts

  • Standardized in RFC 7519 (2015)
  • 80%+ of modern APIs use JWT
  • Three parts separated by dots (.)
  • Common algorithms: HS256, RS256

Frequently Asked Questions

What is a JWT?

Compact, URL-safe token with header (algorithm), payload (claims), and signature for API authentication.

Is decoding JWT safe?

Yes — payload is base64-encoded, not encrypted. Security is in signature verification, not content hiding.

What are JWT claims?

Statements about user: iss (issuer), sub (subject), exp (expiration), iat (issued at), aud (audience).

How long should JWT last?

Access tokens: 15-30 min. Refresh tokens: 7-30 days. Short-lived limits damage if compromised.