Base64 Encoder & Decoder

Encode or decode your data using Base64 format - A standard encoding method for binary data

Open Base64 Tool

What is Base64?

Base64 is a encoding method that converts binary data into a text format using 64 different characters. It's designed to carry data stored in binary formats across channels that only reliably support text content.

Original Text:
Man is distinguished, not only by his reason, but ...
Base64 Encoded:
TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCAuLi4=

Common Use Cases

Email Attachments

Base64 is used in email systems (MIME) to encode binary attachments into ASCII text format for transmission.

Data URIs

Embedding images and other files directly in HTML/CSS using data URI scheme with Base64 encoding.

URL Safe Data

Encoding binary data to be safely included in URLs and filenames without special characters.

Technical Details

  • Uses a set of 64 characters: A-Z, a-z, 0-9, and typically "+" and "/" with "=" for padding
  • Converts every 3 bytes of binary data into 4 Base64 characters
  • Ensures data integrity during transfer across text-based systems
  • Increases data size by approximately 33% compared to binary format