t▴ToolDock Less busywork. More possibility. ↗
← Back to all tools
64
Base64 Encoder

Base64 Encoder

Encode and decode UTF-8 text, including Unicode and emoji.

Something missing? Suggest an improvement →

Worked examples: try and compare

These examples show expected results and common failure cases. Loading an example replaces the tool input after confirmation when you already have text.

Decode ordinary text

SGVsbG8=

Expected: Hello

This is a reversible text encoding, without any secret key.

Round-trip Unicode

café

Expected: Y2Fmw6k=

The accented character is encoded as UTF-8 bytes before Base64 conversion.

How to use Base64 Encoder

Base64 is an encoding, not encryption. Never treat an encoded password as securely stored. Decoding accepts valid UTF-8 text only.

Encode text and verify the round trip

Choose Encode for plain text and Decode for Base64. Hello becomes SGVsbG8=. The tool converts text to UTF-8 bytes before encoding, so Unicode text can be round-tripped without treating each character as a single byte. Decode your output once to verify that you have encoded the intended text.

Encoding is not encryption

Anyone with the encoded value can decode it. Base64 is useful for transporting bytes through text-oriented formats, but it does not protect passwords or API secrets. Its output is usually larger than the original bytes, approximately four characters for every three bytes before padding.

Distinguish text, files and URL-safe values

The decoder expects standard Base64 containing valid UTF-8 text. Arbitrary binary images may decode to invalid text and are not supported as file downloads by this tool. Remove a data URL prefix before supplying its Base64 text. URL-safe Base64 uses a different alphabet and is not automatically normalized here.

Do you upload my data?

This tool runs in your browser. Inputs and results are not sent to our server. Closing or refreshing the page clears your work, so save any results you need.

Step-by-step guide

Base64 is not encryption: encode Unicode text correctly →