Base64 Encoder / Decoder
Encode and decode Base64 text (UTF-8 safe).
Text
Base64
About this tool
Convert text to and from Base64 with correct UTF-8 handling and an optional URL-safe alphabet. Everything runs locally in your browser.
How to use
- Enter text to encode, or Base64 to decode.
- Toggle URL-safe mode if you need +/ replaced with -_.
- Copy the result with one click.
Examples
Encode
Hello 👋 → SGVsbG8g8J+Riw==
Frequently asked questions
Yes. Text is encoded as UTF-8 first, so emoji and international characters round-trip correctly.
A variant that replaces + and / with - and _ and omits padding, so the value is safe in URLs and filenames.