Encoding
Base64 Encoder / Decoder
Convert Unicode text to and from Base64.
Ready. Use the example or paste your own input.
How to use Base64 Encoder / Decoder
Encode text as UTF-8 Base64, or decode Base64 back to text. Unicode characters are supported.
Good to know
Base64 is an encoding, not encryption. This tool expects UTF-8 text, not arbitrary binary files.
Encode a short UTF-8 message
Choose Encode to try this example.
Input
Hello
Expected result
SGVsbG8=
Common questions and mistakes
Why are there equals signs at the end?
Base64 groups bytes into blocks. The = character pads a final incomplete block. This decoder accepts valid padded or unpadded text and ignores whitespace. It rejects characters outside standard Base64.
Can I decode a JWT segment here?
JWTs use Base64URL, which substitutes - and _ for + and /. Use the JWT Decoder for token segments. This Base64 tool expects UTF-8 text; decoded binary data may not be valid text and will produce an error.
Related tools
- JWT Decoder β Inspect headers, claims, and expiration.
- URL Encoder / Decoder β Encode or decode a URL component.