⌕
Developer · free online tool

Base64 Encode.

Encode Unicode text as Base64.

Your workspace◈ Processed on your device
Your result
Your result will appear here.

A little context.

Encodes text as UTF-8 bytes before converting to Base64. Base64 is an encoding, not encryption, and does not keep data secret.

Representing text as transportable bytes

Use this encoder when a protocol asks for standard Base64 of UTF-8 text. Compare Hello with its output SGVsbG8=. Non-ASCII text is first encoded as UTF-8, so its output length depends on the underlying bytes.

Interpreting the result and avoiding mistakes

Base64 is reversible and provides no secrecy. This interface encodes text, not uploaded binary files. URL-safe Base64 uses a different alphabet and may omit padding; confirm which variant the receiving protocol expects.

A reproducible workspace example

These are the starting values in the form above. The result below is calculated from these values when the page is built, using the same processing engine as the tool.

Text
Hello, world!

Calculated output

SGVsbG8sIHdvcmxkIQ==

Reference: RFC 4648: Base64 encoding.

Quick reference

Hello → SGVsbG8=

How to use this tool

  1. Enter text in the workspace above.
  2. Select Run tool to process your input. Invalid values produce a message next to the form.
  3. Copy the result or download it as a file. Reset example restores the original input.

Keep a good thing going.

A few related tools for your next step.