Base64 Encoder

Convert text and data to Base64 format

Free Online Base64 Encoder

Encode any text or data to Base64 format instantly. Base64 is commonly used to encode binary data for transmission over text-based protocols like email, JSON, and URLs.

Open Base64 Encoder

Common Uses for Base64

  • Data URIs: Embed images directly in HTML/CSS without external files
  • Email Attachments: Encode binary files for MIME email transmission
  • API Authentication: Basic Auth headers use Base64-encoded credentials
  • JSON Data: Include binary data in JSON payloads
  • URL Parameters: Safely pass complex data in query strings

Example

Input:

Hello, World!

Output (Base64):

SGVsbG8sIFdvcmxkIQ==