Your Daily Tools, All At One Place

Encode and decode Base64 data. Perfect for handling binary data in text format and embedding files in web applications.

Input Data

Encode to Base64
Decode from Base64

Drag & drop a file here or click to select

No file selected

Output Data

0 Bytes
Original Size
0 Bytes
Processed Size
0%
Size Change
0 bytes difference
About Base64 Encoding

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used in:

  • Data URLs for embedding images in HTML/CSS
  • Email attachments in MIME format
  • Storing complex data in JSON or XML
  • Transmitting binary data over text-only protocols

Note: Base64 encoding increases data size by approximately 33% compared to the original binary data.

Base64 Examples
Original Text
Hello, World!
Base64 Encoded
SGVsbG8sIFdvcmxkIQ==
Image Data URL
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg==
JSON Data
eyJuYW1lIjoiSm9obiIsImFnZSI6MzB9