Base64 Encoder / Decoder

Encode and decode text or files to/from Base64 format. Perfect for API development, data URIs, and data transmission.

Plain Text

0 characters

Base64

0 characters

About Base64 Encoding

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used to encode data that needs to be stored or transferred over media designed to handle text.

Common Use Cases

  • Email Attachments - Encoding binary files in email (MIME)
  • Data URIs - Embedding images directly in HTML/CSS
  • API Requests - Transmitting binary data in JSON payloads
  • Basic Authentication - HTTP Basic Auth header encoding
  • File Storage - Storing binary data in text-based formats

How It Works

Base64 encoding converts binary data into a set of 64 ASCII characters (A-Z, a-z, 0-9, +, /). Every 3 bytes of binary data is converted to 4 Base64 characters, making the encoded data about 33% larger.

Example

Plain text: Hello World!
Base64: SGVsbG8gV29ybGQh

Geek Cafe LogoGeek Cafe

Your trusted partner for cloud architecture, development, and technical solutions. Let's build something amazing together.

Quick Links

© 2025 Geek Cafe LLC. All rights reserved.

Research Triangle Park, North Carolina

Version: 8.7.0