Base64 Encoder & Decoder

Enter text to encode to Base64, or paste a Base64 string to decode it.

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data as an ASCII string. It is commonly used to embed images in HTML or CSS, transmit data in URLs and APIs, and store complex data in text-based formats like JSON or XML.

How to Use This Tool

  • Paste your plain text or Base64 string into the input field.
  • Click Encode to convert plain text to Base64.
  • Click Decode to convert Base64 back to plain text.
  • If the input is not valid Base64, an error message will appear.
  • Click Copy to copy the result to your clipboard.

Features

  • Encode any text (including Unicode) to Base64
  • Decode Base64 strings back to readable text
  • Error messages for invalid Base64 input
  • Copy result to clipboard with one click
  • Works entirely in your browser — no data is sent to any server

Related Tools