Encode or decode text data in Base64 format.
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used when there's a need to encode binary data that needs to be stored and transferred over media designed to deal with textual data. This encoding helps ensure that the data remains intact without modification during transport.
Base64 encoding takes three bytes of data (24 bits) and represents them as four ASCII characters. Each character represents 6 bits of the original data. The character set includes A-Z, a-z, 0-9, +, and /, with = used for padding when the input isn't a multiple of 3 bytes.
Hello, World!
SGVsbG8sIFdvcmxkIQ==
ComUtil
Q29tVXRpbA==
123456
MTIzNDU2
No, Base64 is an encoding scheme, not encryption. It doesn't provide any security - anyone can decode Base64 data. For security, use proper encryption algorithms.
Base64 encoding increases data size by approximately 33% because it uses 4 characters to represent every 3 bytes of data.
Standard Base64 uses + and / characters which have special meanings in URLs. URL-safe Base64 replaces these with - and _ respectively.