Base64 Encoder

Encode text to Base64, useful for data URIs, basic auth and APIs.

—

How it works

Text is UTF-8 encoded, then mapped to the 64-character Base64 alphabet.

Examples

InputOutput
Hello, World!SGVsbG8sIFdvcmxkIQ==
fooZm9v
testdGVzdA==

Frequently Asked Questions

Is Base64 encryption?

No, it is an encoding, not encryption. Anyone can decode it; it just makes binary data text-safe.

Why do results end with =?

= is padding to make the output length a multiple of 4.

Does it support Chinese/emoji?

Yes, input is UTF-8 encoded before conversion.

Related Tools

Image to Base64 EncoderURL Encoder (Percent Encoding)URL DecoderBase64 Decoder