Base64 Encode / Decode
Encode text to Base64 or decode Base64 strings back to plain text. Standard and URL-safe variants.
About Base64 Encode / Decode
Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters. It is widely used in web development for embedding images directly in HTML or CSS, transmitting binary data in JSON payloads, storing credentials in HTTP Basic Auth headers, and encoding email attachments.
URL-safe variant
Standard Base64 uses the characters + and / which are special characters in URLs. URL-safe Base64 substitutes - for + and _ for /, making encoded strings safe to include in query parameters without encoding.
Note on security
Base64 is encoding, not encryption. It provides no security — any encoded string can be trivially decoded. Never use it to protect passwords or sensitive data.