Base64 Encode/Decode

Encode and decode Base64 strings.

Runs in your browser — your data never leaves your device

Frequently Asked Questions

What is Base64 encoding?

Base64 is a binary-to-text encoding scheme that represents binary data as an ASCII string using 64 printable characters. It's commonly used to embed images in HTML/CSS, encode credentials in HTTP headers, and store binary data in text formats.

How do I encode text to Base64?

Paste your plain text into the "Encode" tab, and the tool instantly outputs the corresponding Base64 string. You can then copy it to your clipboard.

How do I decode a Base64 string?

Switch to the "Decode" tab, paste the Base64 string, and the tool outputs the original plain text or binary data.

What characters are valid in Base64?

Valid Base64 uses A-Z, a-z, 0-9, +, /, and = as padding. If your input contains other characters, it may not be valid Base64 or may need URL-safe Base64 (using - and _ instead of + and /).

Is this tool free?

Yes, ToolDock's Base64 encoder/decoder is completely free, requires no signup, and runs entirely in your browser.