Encode any text into a Base64 string - paste it in, click convert, and copy the result.
Base64 is a binary-to-text encoding from RFC 4648 that represents data using 64 printable ASCII characters. It exists so binary or non-ASCII content can travel safely through channels that only expect plain text - email bodies, JSON and XML payloads, data URLs and HTTP headers. This converter takes your text, reads it as UTF-8 bytes, and returns the matching Base64 string.
It helps to be clear about what Base64 is not. It is not compression - the output is about a third larger than the input. And it is not encryption - anyone can decode it in a second. Use it to move data through a text-only pipe, not to hide it.
Embedding a small image or font as a data URI, tucking binary into a JSON or XML field, building the
Basic Auth value for an Authorization header, or passing odd characters through a system that
only accepts plain ASCII. Whenever raw bytes need to ride inside a text format, Base64 is the usual answer.
No. Base64 is a reversible encoding defined in RFC 4648, not encryption. Anyone can decode it, so it hides nothing. Use it to make data safe for text channels, never to protect secrets.
Base64 maps every 3 bytes of input to 4 ASCII characters, so the encoded result is roughly 33% larger than the original.
The standard RFC 4648 alphabet: A to Z, a to z, 0 to 9, plus the symbols + and /, with = used as padding at the end.
Use our Base64 to Text tool, which runs the decode in the other direction and gives you the original string back.