Server

Base64 Encoder / Decoder

Encode text to Base64, or decode a Base64 string back to plain text.

About Base64

Base64 represents binary data as plain text using 64 safe characters. It appears in email attachments, data URLs, HTTP basic-auth headers and Kubernetes Secrets. This tool encodes and decodes UTF-8 text in your browser.

Frequently asked questions

Is Base64 encryption?

No. It is a reversible encoding with no key. Anyone can decode it, so never rely on it to hide secrets.

How do I decode Base64 on Linux?

echo 'aGVsbG8=' | base64 -d. To encode without a trailing newline: echo -n 'hello' | base64.

All Utilities tools →