Base64 Encoder
Encodes text to Base64, handling accents and any other UTF-8 correctly.
Results
What this tool does
Base64 takes three bytes at a time and writes them as four characters from a fixed alphabet of sixty-four, which is why the result is always about a third longer than what went in. The place it usually goes wrong is accented text: the encoder has to work on the UTF-8 bytes, not on the characters, and a tool that gets that wrong turns "Olá" into something that no longer decodes. This works on the bytes.
Formula
every three bytes become four characters from a 64-letter alphabet
Variables
| Symbol | Meaning | Unit |
|---|---|---|
text | Text | — |
OUT | Base64 | — |
BY | Bytes in the text | B |
SA | Size after | B |
Worked example
- TextParitian
- Base64UGFyaXRpYW4=
- Bytes in the text8 B
- Size after12 B
Limitations
- The calculation runs entirely in your browser. The values you type are never sent to a server.
Frequently asked questions
Is Base64 a form of encryption?
No, and treating it as one is a real and common mistake. Base64 is a way of writing bytes using only letters, digits and two symbols, so that binary data can travel through channels that expect text — an email, a URL, a JSON field. Anyone can reverse it in a second; it hides nothing. A password sent as Base64 is a password sent in the clear with an extra step.