Base64 Codec

Encode text to Base64, test URL-safe output, and decode everything fully on the client side.

Base64 Codec

Encode text to Base64, try URL-safe output, and decode it entirely in the browser.

Base64 is encoding, not encryption.

Text is converted to UTF-8 bytes and encoded as Base64.

Results update instantly.

Output

Input chars
49
Output chars
76
Bytes
76
Valid

Type text or paste a Base64 string.

What is Base64 used for?

Base64 is an encoding method used to carry binary data as text.

This tool is useful for text transport, API payload prep, and quick conversion checks without leaving the browser.

When do I need URL-safe mode?

URL-safe output replaces the plus and slash characters with safer alternatives for web addresses.

It is handy for tokens, links, and Base64 values that will appear inside query strings.

Is Base64 encryption?

No. Base64 is encoding only and provides no security by itself.

Use proper encryption and access control when the data must remain secret.