Developer Tools

Base64 Encoder/Decoder.

Encode text to Base64 or decode Base64 to text instantly. Free online Base64 converter with full Unicode and UTF-8 support.

Free · No sign-upInstant resultsWorks in browser

Input

Any text will be converted to base64

Output

Paste input and click
Encode to see results.

Browzey

Need to do this on any website, at scale?

Browzey runs this — and hundreds of other browser tasks — in plain English. No copy-paste, no limit. Install the Chrome extension and try it yourself.

Add to Chrome
About This Tool

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used for encoding data in URLs, email attachments, and storing complex data in text-based formats like JSON or XML.

Common Use Cases

  • Encoding binary data for transmission in text-based protocols
  • Embedding images directly in HTML or CSS
  • Encoding authentication credentials in HTTP headers
  • Storing binary data in JSON or XML documents

How It Works

Base64 encoding converts every 3 bytes of binary data into 4 ASCII characters. This makes the encoded data about 33% larger than the original, but ensures compatibility with text-based systems.

Frequently Asked Questions

What is Base64 encoding?

Base64 is a binary-to-text encoding scheme that represents binary data in ASCII string format, commonly used for embedding images in HTML/CSS or transmitting data in URLs.

Is Base64 encryption?

No, Base64 is encoding, not encryption. It's easily reversible and provides no security. Use it for data transport, not for protecting sensitive information.

Why does Base64 make data larger?

Base64 encoding increases data size by approximately 33% because it represents 3 bytes of binary data using 4 ASCII characters.

What are common use cases for Base64?

Common uses include embedding images in CSS/HTML, encoding email attachments (MIME), storing binary data in JSON, and encoding data for URLs.