Base64 Encode/Decode

Encode and decode text to Base64 format.

Usage

Enter text and click Encode for Base64 or Decode to restore. Supports Unicode (UTF-8) including Japanese.

When to use

Basic auth headers, Data URIs (image embedding), API payload transfer, binary as text.

Examples

HelloSGVsbG8=, embed image as Data URI in HTML.

Tips

  • Basic auth: Authorization: Basic + Base64(user:pass).
  • Data URI: data:image/png;base64, + Base64(image).
  • All processing is local. No data sent to server.

Related tools