Base64 Encoder/Decoder

Encode and decode text using Base64 encoding

Encode to Base64

Decode from Base64

{{ decodeError }}

File to Base64

Drag and drop a file here or

{{ fileInfo.name }}
{{ formatFileSize(fileInfo.size) }}
{{ fileInfo.type || 'Unknown type' }}

About Base64 Encoding

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used for encoding data in emails, storing complex data in XML or JSON, and embedding images in HTML/CSS.

Characters Used

A-Z, a-z, 0-9, +, /

64 characters total

Padding

Uses = for padding

When needed

Size Increase

~33% larger than original

4:3 ratio