Utility Hub

Base64 Encoder

Encode any text to Base64, including Unicode and emoji. All processing happens in your browser — nothing is sent to a server.

Tip: Press Ctrl+Enter to encode.

What is Base64 encoding?

Base64 is a binary-to-text encoding scheme that represents arbitrary binary data as a sequence of printable ASCII characters. It divides input bytes into groups of three, then maps each group to four characters from a 64-character alphabet (A–Z, a–z, 0–9, +, /).

When is Base64 used?

Important note on Unicode

The standard btoa() function only handles Latin-1 characters. This tool converts your input to UTF-8 bytes first, then encodes to Base64, so all Unicode characters — including emoji — are handled correctly.

Is Base64 encryption?

No. Base64 is an encoding format, not encryption. Anyone can decode a Base64 string back to its original content without a key. Do not use Base64 to protect sensitive data.