Paritian

Developers

Base64 Encoder

Encodes text to Base64, handling accents and any other UTF-8 correctly.

Results

Base64 UGFyaXRpYW4=
Bytes in the text 8 B
Size after 12 B

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

SymbolMeaningUnit
textText
OUTBase64
BYBytes in the textB
SASize afterB

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.