Free tool

Base64 Encode and Decode

Encode text into Base64 or decode it back again. Unicode and emoji are handled correctly, and nothing you paste leaves your browser.

Input
Output

Everything runs inside your browser. Nothing you paste is uploaded or stored.

How to use it

1Choose Encode or Decode.
2Paste your text or your Base64 string on the left.
3Copy the result from the right.
Text Workflow app icon

Doing this more than once? Do it on your Mac.

★ 4.8 from 176 ratings

This page handles one paste at a time. Text Workflow runs 45+ text actions on your Mac, chains them into workflows you save once and reuse, and applies them to whole folders of files. Everything happens on-device, and it syncs to your iPhone.

Questions

Does it handle accented characters and emoji?

Yes. The text is encoded as UTF-8 before conversion, so Greek, accents, CJK and emoji all survive a round trip. Simpler tools that skip this step corrupt anything outside plain ASCII.

What is the URL-safe alphabet?

Standard Base64 uses + and / which have special meanings in a URL. The URL-safe variant swaps them for - and _ and drops the trailing padding, so the result can be dropped into a link.

Is Base64 a form of encryption?

No, and this matters. Base64 is an encoding, not a cipher. Anyone can decode it instantly, so never use it to protect a password or anything else sensitive.

Why does decoding fail on my string?

Usually the string was truncated or had characters added by a mail client. Decoding needs the whole, unbroken string, although padding and line breaks are handled for you.