Convert between plain text and Base64 encoding instantly. Supports UTF-8, Unicode, and all text formats.
Paste plain text into the left box and click “Encode” to turn it into a Base64 string, or paste a Base64 string and click “Decode” to get the original text back. The right panel updates instantly, and the “Copy Result” button saves you a step.
Common uses: embedding small images as data URIs in HTML or CSS, passing binary-safe text through JSON APIs, and storing tokens or short payloads in configuration files. For large files, prefer Base64 only when the size overhead is acceptable — it grows data by about 33%.
Security note: Base64 is encoding, not encryption - anyone can decode it instantly. Never use it to protect passwords, API keys or personal data. For sensitive values, always use real encryption like AES instead.
A practical workflow: encode a small config snippet, paste it into a deployment pipeline variable, and decode it on the target machine to avoid escaping headaches. When debugging, decode first to confirm the payload is valid text before inspecting the encoding.
A free online Base64 encoder and decoder that converts between plain text and Base64 encoded format instantly. Base64 is a binary-to-text encoding scheme that represents binary data using 64 ASCII characters (A-Z, a-z, 0-9, +, /). It's commonly used for embedding images in HTML/CSS, encoding email attachments (MIME), storing data in JSON/XML, and basic authentication headers.
Base64 is used for embedding images as data URIs, encoding email attachments (MIME), storing binary data in JSON/XML, and HTTP basic authentication.
As long as it's valid Base64 encoding. Invalid input will show a clear error message.
Yes. The UTF-8 encoding ensures full support for Chinese, Japanese, emoji, and all Unicode characters.
No. All encoding and decoding happens entirely in your browser. Nothing is sent anywhere.