🔢

Base64 Encoder / Decoder

Encode or decode text and files instantly. Everything runs in your browser — nothing is uploaded.

Result appears here
ℹ️ How to use
  1. Choose mode — Encode to Base64 or Decode from Base64
  2. Type or paste your text in the input field
  3. Click Convert to see the result
  4. File mode — drag and drop any file to get its Base64

🔗 Related Tools

-FAQ

❓ Frequently Asked Questions

What is Base64 encoding?

Base64 is an encoding scheme that converts binary data into a string of ASCII characters using 64 printable characters (A–Z, a–z, 0–9, +, /). It is used to safely transmit binary data over text-based channels like email or URLs.

Why is Base64 used?

Base64 is used to embed images directly in HTML/CSS (data URIs), encode email attachments (MIME), store binary data in JSON, and transmit binary data over APIs that only accept text.

Does Base64 encrypt data?

No. Base64 is encoding, not encryption. Anyone can instantly decode a Base64 string. Never use Base64 to hide sensitive data. Use proper encryption (AES, RSA) for security.

How much does Base64 increase file size?

Base64 increases the size of data by approximately 33%. A 100 KB image becomes about 133 KB when Base64-encoded. This is a trade-off for the convenience of embedding binary data as text.

What is the difference between Base64 and Base64URL?

Standard Base64 uses '+' and '/' characters which have special meaning in URLs. Base64URL replaces '+' with '-' and '/' with '_', making it safe to use in URLs and filenames without encoding.

-FAQ