Paste text to encode it, or paste Base64 to read what it holds.
Base64 represents binary data using 64 printable characters so that it can travel through systems built for text, such as email and JSON. This tool first converts your text to UTF-8 bytes and then encodes those bytes, so emoji and accented characters survive a round trip. Many simple encoders get this wrong and fail on anything beyond ASCII.
The URL-safe option swaps plus and slash for hyphen and underscore and lets you drop the equals padding, which is the form used in JSON Web Tokens and many URLs. When decoding, both alphabets are accepted and missing padding is added automatically.
No. Anyone can decode it, so it offers no secrecy. It is only an encoding that makes bytes safe to move as text.
Every three bytes of input become four characters of output, so Base64 adds roughly 33 percent to the size.
The input may contain characters outside the Base64 alphabet, or the decoded bytes may not form valid UTF-8 text, which happens when the original was a binary file such as an image.