Base64 Encode

Encode UTF-8 text or small files into Base64 strings or Data URIs.

Plain Text or File Input

Base64 Encoded Output

SGVsbG8gVVRGLTg6IGNhZsOpIOKckw==

How to Use Base64 Encode

Convert Unicode text (including accented letters and emojis) or uploaded binary files into RFC 4648 Base64 output.

Step 1

Enter text or upload a small file.

Step 2

Optionally toggle Data URI output format.

Step 3

Click "Copy Base64 String".

Important Limitations

  • •Remember that Base64 is an encoding, NOT encryption—anyone can decode a Base64 string back to plain text.
Network & Storage Note: Encoded locally via TextEncoder and FileReader.

What Base64 Encode Includes

UTF-8 multi-byte safe
Optional data: MIME URI prefix
File-to-Base64 encoding

Frequently Asked Questions

Frequently Asked Questions

Find quick answers about functionality, security, and usage limits.

Standard btoa() only accepts single-byte Latin1 characters. This tool converts strings to UTF-8 bytes with TextEncoder first so emojis and accents encode accurately.

More Developer & Format Tools

View all