Base64 Encode / Decode

Encode text to Base64 or decode Base64 back to text. Supports UTF-8 and URL-safe encoding.

Your files never leave your device

How to Base64 Encode / Decode

  1. Type or paste your text into the input field.
  2. Click Encode to convert it to Base64, or Decode to convert Base64 back to text.
  3. Enable URL-safe mode to replace + with - and / with _ for use in URLs.
  4. Click Copy to copy the output to your clipboard.

Why Use This Tool?

Base64 encoding is used to represent binary data as text — in authentication headers, data URIs, JWT tokens, email attachments, and API payloads. This tool handles full Unicode text correctly using TextEncoder, so emoji and non-Latin scripts encode without errors.

Frequently Asked Questions