JWT payloads are only encoded, not encrypted, unless a separate encryption layer is used. Never treat decoded payload data as proof of authenticity without signature validation.
Free developer encoding tool
Base64 URL Encoder Decoder
Encode and decode Base64, URL strings, HTML entities, and inspect JWT header and payload data without sending text to an external API.
- Base64
- URL encode
- HTML entities
- JWT preview
Converted result
Output
- Input length
- 0 characters
- Output length
- 0 characters
- Preview
- Output will appear here.
Token helper
Decode JWT header and payload
Paste a JWT to inspect the decoded header and payload. This viewer does not validate the signature and does not prove the token is trustworthy.
How Base64 encoding works
Base64 turns bytes into a text-safe alphabet so data can travel through systems that expect plain characters. It is common in API payloads, email attachments, configuration snippets, images embedded in text, and authentication formats.
Base64 is not encryption. Anyone who has the encoded text can decode it. Use it for representation and transport, not for secrecy.
URL encoding and decoding
URL encoding changes spaces, punctuation, and non-URL-safe characters into percent-encoded sequences. This prevents query parameters, redirect URLs, and path fragments from breaking when they contain spaces or reserved symbols.
URL decoding reverses that process. If a decode operation fails, the input may contain an incomplete percent sequence or text that was not actually URL encoded.
HTML escape and unescape
HTML escaping converts characters such as less-than, greater-than, quotes, and ampersands into entities. This is useful when you need to display markup-like text as text instead of letting the browser interpret it as HTML.
Escaping is only one part of safe output handling. Application security depends on context, framework behavior, and proper server-side controls.
JWT decoding caution
A JSON Web Token usually contains a header, payload, and signature. The header and payload are Base64URL encoded, which means they are easy to decode for inspection. That does not mean the token is valid.
To trust a JWT, an application must verify the signature with the expected algorithm, key, issuer, audience, and expiration rules. This page is only a quick inspection helper.