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.
Base64 encodes binary data (images, files, encryption keys) into a safe ASCII string of 64 characters: A-Z, a-z, 0-9, + and /. Every 3 bytes of input become 4 text characters, so encoded output is about 33% larger than the original.
Where you see it every day: data URIs in HTML (inline images), JWT tokens, email attachments (MIME), and API payloads that must stay text-only. Our encoder/decoder works entirely in your browser - nothing is uploaded.
Base64 is not encryption - anyone can decode it instantly. Never use it to protect passwords, credit cards or private messages. It is meant for data transport compatibility, not confidentiality.
Base64 is encoding, not encryption: anyone can decode it without a key. Use it for safe transport of binary data in text contexts (emails, JSON, URLs), never for protecting secrets. If you need confidentiality, encrypt first, then encode. This distinction is why our encoder shows both encode and decode directions - you should always be able to inspect the round trip.