Base64 Encoder & Decoder

Encode and decode Base64 strings instantly in your browser. Fast, private, and free.

Output Base64
Output will appear here

How it works

Base64 converts text or binary data into a text-safe format that can be transmitted through systems that primarily support text — such as email servers, URLs, and API payloads. The encoder and decoder run entirely in your browser. Nothing is sent to a server.

Base64 is encoding, not encryption. Anyone who sees the encoded output can decode it instantly without a key.

Learn more → What Is Base64? Complete Reference Guide

FAQ

What is Base64?

Base64 is a binary-to-text encoding scheme that converts binary data into a sequence of 64 printable ASCII characters. It was designed to safely represent arbitrary byte data as text so it can pass through systems that only handle text — such as email servers or HTTP headers.

How do I encode text to Base64?

Paste or type your text into the input field, then select "Encode → Base64" from the mode selector. The encoded output appears instantly in the right panel. You can copy it with the Copy button.

How do I decode Base64 back to text?

Paste your Base64 string into the input field and select "Decode ← Base64" from the mode selector. The decoded plain text appears in the output panel. If the input is not valid Base64, the tool will show an error message.

View all questions →