Base64 Encoder / Decoder

Encode and decode Base64 strings online. Free Base64 conversion tool.

How to use: Paste text to encode or decode Base64 — switch modes with the toggle.

How to Encode and Decode Base64

Enter your plain text and click Encode to get the Base64 representation. To decode, paste a Base64 string and click Decode to reveal the original text. The tool handles UTF-8 characters, special symbols, and multi-line text.

Common Uses for Base64 Encoding

Base64 is used to embed images in CSS (data URIs), encode binary attachments in email (MIME), include binary data in JSON payloads, and pass data through URL parameters. It increases data size by approximately 33% compared to binary.

Frequently Asked Questions

What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that converts binary data into ASCII characters. It's commonly used to embed images in HTML/CSS, encode email attachments, and transmit binary data in text-only protocols.
How do I encode text to Base64?
Paste your text into the input field and click Encode. The Base64-encoded string appears instantly. You can also decode Base64 back to plain text by pasting encoded text and clicking Decode.
Is Base64 encoding the same as encryption?
No. Base64 is an encoding scheme, not encryption. Anyone can decode Base64 text. It's used for data transport, not security. For encryption, use tools like AES or RSA.