Base64 Encode/Decode

Base64 Encoder & Decoder

Convert text and binary data to and from Base64 encoding.

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:

  • Email attachments (MIME)
  • Data URLs in HTML/CSS
  • API authentication tokens
  • Storing binary data in JSON

Features

  • Encode — Convert text or files to Base64
  • Decode — Convert Base64 back to original format
  • UTF-8 Support — Properly handles unicode characters
  • URL-Safe Mode — Use URL-safe Base64 variant

Read the full Base64 Encode/Decode guide and the Base64 Encode/Decode API reference.