Base64 Encode Online - Convert Text to Base64

Select Encryption Method

Base64: Encodes text into Base64 format. This is an encoding, not encryption: anyone can decode it.
Result will appear here...

How to encode text to Base64

Where Base64 encoding is used

Example

Hello becomes SGVsbG8=. Hello, World becomes SGVsbG8sIFdvcmxk. Non-English text is encoded as UTF-8 first, so the result decodes back correctly.

Remember

Base64 is an encoding, not a way to protect secrets. To keep text private, use AES encryption.

Frequently Asked Questions

Can I encode a file?

This tool encodes text. Paste text content, not files.

Why is the Base64 output longer than my text?

Base64 uses four characters for every three bytes, so the result is about 33 percent longer.

More Encryption & Cipher Tools