Base64 Encoder and Decoder

Encode text to Base64 or decode Base64 strings back to text. Handles UTF-8 encoding and preserves input on errors.

How to Use Base64 Encoder and Decoder

The Base64 Encoder and Decoder is a free online tool for encoding text to Base64 format or decoding Base64 strings back to readable text. Base64 encoding is commonly used for embedding binary data in text formats, sending data through URLs, encoding email attachments, and storing credentials in configuration files. This tool handles UTF-8 encoding properly, preserving international characters and special symbols. Whether you are a developer working with API authentication headers, embedding images in CSS, encoding data for data URIs, or debugging encoded strings, this tool provides instant bidirectional conversion with error handling.

Step-by-Step Instructions

  1. Paste the text you want to encode or the Base64 string you want to decode
  2. Select whether to encode (text to Base64) or decode (Base64 to text)
  3. View the converted result instantly
  4. Copy the output using the copy button

Related Tools

More Free Tools