Base64 Encoder / Decoder

Free

Encode text to Base64 or decode Base64 strings instantly. Supports text and URLs.

Text → Base64

What is Base64?

Base64 is an encoding scheme that converts binary data into a sequence of ASCII characters. The name comes from the 64 printable characters used in the encoding. It is widely used in web development to embed binary data — such as images, fonts, or files — directly into HTML, CSS, or JSON without needing a separate file request.

Common Uses of Base64

  • Embedding images in HTML/CSS as data URIs
  • Encoding JWT token payloads (Base64Url)
  • Passing binary data in JSON API requests
  • Encoding email attachments (MIME)
  • Storing binary data in text-based config files

Frequently Asked Questions

Related Tools