Base64 Encoder/Decoder

Encode Unicode text as Base64 or decode it back to text.

✓ Free to use · Runs in your browser · No sign-up
Paste or type into this box to get started. Up to 100,000 characters (letters, numbers, spaces and symbols). Nothing you enter is sent to a server.

How to use Base64 Encoder/Decoder

  1. Paste plain text to encode, or standard Base64 text to decode.
  2. Select Encode or Decode.
  3. Process and copy or download the result.

A closer look

Represent UTF-8 text using the standard Base64 alphabet, or decode it back into readable text. Unicode characters are encoded as UTF-8 bytes before conversion, so non-Latin scripts are supported. Decoding rejects invalid Base64 and byte sequences that are not valid UTF-8. This is a text tool, not a binary file decoder.

A practical example

Encode Hello to get SGVsbG8=. Decode that value to recover Hello. Base64 represents bytes as text; it does not encrypt or protect the message.

A useful tip

Base64 is an encoding, not encryption. Anyone who has the encoded string can decode it. Do not treat it as a way to hide a secret.

Good questions. Simple answers.

Does it support Base64URL?

This tool uses standard Base64 with + and / characters. URL-safe Base64 with - and _ is not accepted.

Why can’t I decode an image?

An image’s bytes are generally not valid UTF-8 text. Use a binary-aware decoder for image data rather than this text tool.

Explore all developer tools for related tasks and category-specific guidance, or read how Toolzafi handles your data.

A few more useful tools