Input
Output
🔒 Your data never leaves your browser

What is Base64 Encoding?

Base64 is a binary-to-text encoding scheme that converts binary data into an ASCII string format. It is commonly used to encode data that needs to be stored or transferred over media designed to handle text, such as embedding images directly in HTML/CSS, encoding email attachments, or storing binary data in JSON.

Common Uses of Base64

  • Embedding images in HTML as data URIs (src="data:image/png;base64,...")
  • Encoding email attachments in MIME format
  • Storing binary data in JSON APIs
  • Encoding credentials in HTTP Basic Authentication
  • Obfuscating content in URLs
Is Base64 the same as encryption?+
No. Base64 is encoding, not encryption. It is easily reversible and provides no security. Do not use Base64 to hide sensitive data.
What is URL-Safe Base64?+
Standard Base64 uses + and / characters which have special meanings in URLs. URL-safe Base64 replaces + with - and / with _ so the output can be used in URLs without encoding.
Is my data safe?+
Yes. All encoding and decoding happens in your browser. Nothing is sent to any server.