Base64 Encoder / Decoder

Encode or decode Base64 strings. Supports text and data URL formats.

Plain Text

Base64 Output

What is Base64 Encoding?

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It translates raw binary bytes into a set of 64 radix-64 printable characters (A-Z, a-z, 0-9, +, and /). It is widely utilized when transferring data across networks, APIs, and file systems designed primarily for text.

Common Base64 Use Cases

  • Embedding inline images, icons, and SVG assets into HTML and CSS stylesheets via data URIs
  • Encoding Basic Authentication credentials in HTTP request headers
  • Safely passing arbitrary binary data or JSON payloads within URL query strings
  • Storing small binary blobs, certificates, and encryption keys in database text fields