Base64 Encode & Decode

Encode text to Base64 or decode Base64 back to text. Supports UTF-8.

Your data stays in your browser — nothing is uploaded to any server.

or try sample data

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data as an ASCII string. It is commonly used in data URLs, email attachments (MIME), JSON Web Tokens (JWT), and embedding binary data in text-based formats like HTML, CSS, or XML.

  • Encode — convert any text (including Unicode and emojis) into a Base64 string.
  • Decode — convert a Base64 string back to its original text.
  • UTF-8 support — correctly handles multi-byte characters, accented letters, and emoji.
  • Swap — move the output back to input for chained conversions.
  • Privacy-first — all processing happens in your browser.