JWT Encoder
Encode header and payload into a JWT structure with Base64URL encoding.
- Runs in your browser
Header (JSON)
Payload (JSON)
Secret
⚠ Signature requires server-side HMAC-SHA256. This tool encodes the header and payload; the signature placeholder is shown.
Encoded JWT
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkFkYSBMb3ZlbGFjZSIsImlhdCI6MTUxNjIzOTAyMn0.signatureHeader decoded
{
"alg": "HS256",
"typ": "JWT"
}Payload decoded
{
"sub": "1234567890",
"name": "Ada Lovelace",
"iat": 1516239022
}Was this tool useful?
Tools you may need
Password GeneratorCreate strong random passwords locally with configurable length and character sets.UUID GeneratorGenerate random RFC 4122 version 4 UUIDs in bulk, with formatting options.Base64 Encoder/DecoderEncode text as Base64 or decode Base64 back to text, with full Unicode support.URL Encoder/DecoderPercent-encode text for URLs, or decode an encoded string back to plain text.