Text utilities

Base64 Encoder and Decoder

Convert UTF-8 text to Base64 or decode Base64 text in your browser.

Text stays in your browserCopy your result

Input workspace

Runs on your device

OUTPUT WORKSPACE

Your result

Let’s calculate.

Use the Calculate button to see your result.

Your content is processed locally.

How to use this tool

  1. Enter text or base64, mode.
  2. Select Update result to view the result.
  3. Check the method and assumptions below before using the result.

The method, explained

UTF-8 text is converted to bytes, then encoded with the standard Base64 alphabet. Decoding reverses the process and requires valid UTF-8 bytes.

A WORKED EXAMPLE

The text Hello encodes as SGVsbG8=. Decoding that value returns Hello.

What to keep in mind

This is a text utility, not a binary file converter. URL-safe Base64 is not automatically normalized. Encoding is reversible and is not encryption.

Common questions

Can I encode non-English text?

Yes. UTF-8 represents Unicode text before the bytes are Base64 encoded.

Why can decoding fail?

The input may use invalid Base64 characters or decode to bytes that are not valid UTF-8 text.

Methodology maintained by ClarityKit. How these tools are built and checked.