TOOLHUB
🔐

Base64 Encoder/Decoder

Encode and decode Base64 strings with instant results

Select Mode

Base64 Features

🔒
Secure Encoding
Convert text to Base64 format for safe transmission
🔓
Easy Decoding
Decode Base64 strings back to original text
Instant Results
Real-time encoding and decoding with live preview
About Base64 Encoding

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used to encode binary data that needs to be transmitted over media that deal with textual data.

Common Uses

  • • Email attachments
  • • Data URLs in HTML/CSS
  • • API authentication tokens
  • • Storing binary data in JSON

How it Works

Base64 encoding takes binary data and converts it into a text string using 64 characters: A-Z, a-z, 0-9, +, and /. Every 3 bytes of input data is converted to 4 characters of output.

Size Impact

  • • Encoding increases size by ~33%
  • • Decoding reduces size by ~25%
  • • Padding with '=' characters may be added
  • • Safe for text-based transmission