Convert text to Base64 or decode Base64 back to plain text. Useful for data encoding, API communication, and working with binary data.
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format by translating it into a radix-64 representation.
Common uses:
Size: Base64 encoding increases the data size by approximately 33% compared to the original binary data.
Unicode Support: The built-in JavaScript btoa/atob functions only work with ASCII characters. For Unicode text, additional encoding steps may be required.
URL Safety: Standard Base64 contains ‘+’ and ‘/’ characters which need to be URL-encoded if used in URLs. Base64URL is a variant that solves this issue.
Plain Text:
Hello World
Base64:
SGVsbG8gV29ybGQ=