Skip to main content
ConvertLab
Tools

Security

JWT Encoder

Encode header and payload into a JWT structure with Base64URL encoding.

  • Runs in your browser

JWT parts

Header (JSON)

Payload (JSON)

Secret

⚠ Signature requires server-side HMAC-SHA256. This tool encodes the header and payload; the signature placeholder is shown.

Encoded token

Encoded JWT

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkFkYSBMb3ZlbGFjZSIsImlhdCI6MTUxNjIzOTAyMn0.signature

Header decoded

{
  "alg": "HS256",
  "typ": "JWT"
}

Payload decoded

{
  "sub": "1234567890",
  "name": "Ada Lovelace",
  "iat": 1516239022
}

Was this tool useful?

Stored locally in your browser only — not sent anywhere.

Tools you may need