Development and data

Base64 is not encryption: how to encode sample text

Base64 represents bytes as text for exchange between systems. Anyone with the encoded value can decode it; it does not protect secrets.

Before you start

Text is processed in the browser. Consider the content before using it and read the privacy policy.

Privacy

How to use it

  1. Enter café and choose encode mode.

  2. Convert and check Y2Fmw6k=.

  3. Select decode, enter Y2Fmw6k= and confirm the result is café.

Base64 Converter

Worked example

The text is converted to UTF-8 bytes before encoding. The = sign is padding in the standard Base64 representation.

Result: café → Y2Fmw6k= → café.

RFC 4648: Base64

Limits and checks

The tool handles UTF-8 text, not binary files, and accepts canonical standard Base64 with appropriate padding; invalid data or bytes that are not valid UTF-8 are rejected. Do not use passwords, tokens or private data as examples.

Next step

To inspect the same text’s bytes, use the hexadecimal converter.

How to represent text bytes in hexadecimal
Back to the blog