Free Base64 Encoder & Decoder

Encode and decode Base64 text and files instantly. Perfect for web development, API testing, and data transmission.

Try these examples:

Base64 Encoded

Length: 0 characters

Decoded Output

Length: 0 characters

What is Base64 Encoding?

Base64 is a method to encode binary data into text format using only 64 ASCII characters. It's commonly used in web development for embedding images, sending binary data over text-based protocols, and data storage.

Common Uses:

  • Embedding images in HTML/CSS (data URLs)
  • Email attachments (MIME encoding)
  • API authentication tokens
  • Storing binary data in JSON
  • URL-safe data transmission

Base64 Characteristics:

  • Character Set: A-Z, a-z, 0-9, +, /
  • Padding: Uses = for padding when needed
  • Size Increase: ~33% larger than original
  • Text Safe: Only printable ASCII characters
  • Reversible: Can be decoded back to original

File Types Supported:

  • Images (JPG, PNG, GIF, SVG)
  • Documents (PDF, DOC, TXT)
  • Audio/Video files
  • Any binary file format

Base64 Examples

Text Examples

Text: "Hello"
Base64: SGVsbG8=
Text: "123"
Base64: MTIz

Use Cases

  • • Data URLs: data:image/png;base64,...
  • • JWT tokens for authentication
  • • Email attachment encoding
  • • Binary data in JSON APIs
  • • CSS background images
  • • Basic HTTP authentication

Start scheduling posts today

Join others saving time with social media scheduling

Get started