How to Use the Base64 Encoder and Decoder: Steps and a Worked Example

By 1 min read

Encode UTF-8 text to Base64 or decode Base64 back to text. This guide shows what to enter, a worked example, and the limits to keep in mind. The Base64 Encoder and Decoder tool is free, needs no account and runs in your browser.

What you need

  • Text or Base64 input, for example InovoTools
  • Action: choose Encode to Base64, Decode Base64

Step by step

  1. Open the Base64 Encoder and Decoder tool.
  2. Fill in Text or Base64 input.
  3. Choose Action.
  4. Read the result, which updates as soon as the inputs change.

Worked example

With these inputs:

  • Text or Base64 input: InovoTools
  • Action: Encode to Base64

the tool returns:

SW5vdm9Ub29scw==

How it works

The calculation is: Every 3 bytes of input become 4 Base64 characters; = is added as padding at the end when needed. Paste your text, choose encode or decode, and copy the result. Text is turned into UTF-8 bytes before encoding, so accents and emoji survive the round trip.

Things to keep in mind

Base64 is encoding, not encryption; do not use it to protect secrets.

If this is not quite what you need, try JSON Formatter, Epoch Converter or Text to Binary Converter.

More from the blog