🔐Base64 Encoder/Decoder

Convert text to/from Base64

How to Use

The Base64 Encoder supports bidirectional conversion between text and Base64 format. Enter text and click "Encode" to convert to Base64, or paste a Base64 string and click "Decode" to restore the original text. Commonly used for email attachments and data transmission.

FAQ

What is Base64 encoding?

Base64 is an encoding method that converts binary data into ASCII strings, commonly used for transmitting binary data in text-based protocols.

Does Base64 encoding increase data size?

Yes, Base64 encoding typically increases data size by approximately 33%.

Does it support Chinese characters?

Yes. Text is UTF-8 encoded before Base64 conversion, so Chinese and emoji convert correctly; decoding restores them via UTF-8 without garbling.

What if decoding fails?

Valid Base64 uses only A-Z, a-z, 0-9, plus, slash, and equals padding. Stray line breaks, Chinese characters, or truncated strings all break it — confirm you copied the whole string and retry.

Is the encoded string secure?

Base64 is encoding, not encryption — anyone can decode it back. Never use it to transmit passwords or secrets; layer real encryption on top when confidentiality matters.