Base64 encode / decode

Encode text to Base64 or decode Base64 back to text — useful for data URIs, tokens, and config values.

Ready.

How it works

Worked examples

Encode text

Input: Hello

Output: SGVsbG8=

"Hello" encoded to Base64 is SGVsbG8=.

Encode a phrase

Input: Hello, RapidUnits!

Output: SGVsbG8sIFJhcGlkVW5pdHMh

UTF-8 text is encoded byte by byte, then mapped to Base64.

Decode Base64

Input: U0VP

Output: SEO

Base64 U0VP decodes back to the text SEO.

FAQ

Is Base64 encryption?

No. Base64 is encoding, not encryption — anyone can decode it. Never use it to protect secrets.

Why is there a = at the end?

The = signs are padding so the output length is a multiple of 4 characters.

Does this run on a server?

No. Encoding and decoding happen entirely in your browser; nothing is uploaded.

Updated: June 7, 2026