Base64 Encode

Encode text or data to Base64 format

Base64 Encoder converts text, binary data, or files into Base64 format. Base64 is commonly used to encode data for safe transmission over text-based protocols like email or URLs. This tool supports Unicode characters including emojis and non-Latin scripts.

Text to Encode

plaintext
1
0 characters • 1 linesUTF-8

Base64 Output

plaintextRead only
1
0 characters • 1 linesUTF-8

About Base64 Encoding

What is Base64? Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It uses 64 characters (A-Z, a-z, 0-9, +, /) plus = for padding.

Common Uses: Embedding images in HTML/CSS, encoding email attachments (MIME), storing complex data in JSON/XML, encoding authentication credentials, and transmitting binary data over text-only channels.

Size Increase: Base64 encoding increases the data size by approximately 33% because it uses 4 characters to represent every 3 bytes of data.