Convert text to Base64 and Base64 to text. Useful for encoding and decoding data in web development.
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It is widely used in web development, data transmission, and email.
Base64 encoding converts binary data into a text string using 64 printable ASCII characters. Each Base64 digit represents 6 bits of binary data.
Encoding:
=) if neededDecoding:
Base64 uses this character set (64 characters):
A-Z (0-25), a-z (26-51), 0-9 (52-61), +, / (62-63)
| Input | Output |
|---|---|
| Hello | SGVsbG8= |
| Test123 | VGVzdDEyMw== |
| A | QQ== |
= indicates incomplete final chunk- and _ instead of + and /