Skip to content

Base64 Encode / Decode

Encode text to Base64 or decode Base64 back to plain text, with full UTF-8 support.

About the Base64 Encode / Decode

Encode plain text into Base64, or decode a Base64 string back into readable text.

How the Base64 Encode / Decode works

Base64 represents binary data using only 64 printable ASCII characters, which makes it safe to embed in places that don't handle raw binary well — email attachments, data URLs, JSON payloads, and API tokens. This tool is UTF-8 safe, so accented characters, emoji, and non-Latin scripts round-trip correctly rather than becoming garbled, which is a common issue with naive Base64 implementations.

How to use the Base64 Encode / Decode

  1. Choose Encode or Decode.
  2. Paste or type your text into the input field.
  3. Press Convert to see the result — click the copy icon to copy it.

Tips for the Base64 Encode / Decode

  • Base64 is an encoding, not encryption — anyone can decode it, so don't use it to hide sensitive data.

Example: Base64 Encode / Decode

Encoding "Hello, World!"

  • Mode: Encode
  • Text: Hello, World!

Result: SGVsbG8sIFdvcmxkIQ==

Each group of 3 input bytes is mapped to 4 Base64 characters from a 64-character alphabet, with "=" padding added so the output length is a multiple of 4.