Free online tools

Base64 Encode and Decode Text

Move Unicode text through a field that expects Base64. Choose the alphabet and padding required by the receiving system, then paste or copy the text.

Enter your values

Paste Unicode text when encoding, or a single Base64 value without whitespace when decoding.

This tool processes your input in your browser.

Result

Choose the alphabet required by your destination

Standard Base64 uses plus and slash in its alphabet. Base64url uses hyphen and underscore instead. Copy the required form as a single string. Both forms represent the same underlying bytes and preserve line breaks when those line breaks are part of your source text.

Decode a Base64 value back to text

Select the original alphabet and padding convention. The decoder checks the alphabet, final padding and unused bits, then reads the bytes as UTF-8. Canonical padding means any required equals signs are present. Select No padding for a format whose specification leaves them off.

Frequently asked questions

Does this support accents and emoji?

Yes. The encoder converts Unicode text to UTF-8, and the decoder reverses that transformation for valid UTF-8 bytes.

Can I decode an image or other binary file?

This converter displays UTF-8 text. Base64 values that represent binary files need a decoder that can save the resulting bytes.

Is Base64 encryption?

Base64 is a reversible representation of bytes. Anyone with the value can decode those bytes.