Developer & Data Tools
Text to Base64
Convert Text to Base64
Runs in your browser Your input never leaves your device.
0 characters | 0 words
About this tool
Convert text to Base64. The text is first converted to UTF-8, so accented letters, symbols and emoji work, then encoded with the standard Base64 alphabet with = padding. The result appears as you type and is produced in your browser; nothing is uploaded. Base64 is an encoding, not encryption: anyone can decode it, so do not use it to hide secrets.
How to use it
- Type or paste your text.
- Copy the Base64 output.
Example
Input
Hello
Result
SGVsbG8=
Common problems
- Output has + and / but you need a URL-safe version
- This tool uses the standard alphabet. Replace + with -, / with _ and drop the = padding for Base64URL.
- Result differs from another tool
- Other tools may encode text in a different character set, or you may have a trailing newline. This tool encodes UTF-8.
- Need to encode a file or image
- This tool encodes text only.