Base64 Encode/Decode
Encode and decode text to and from Base64 format online
What is the Base64 Encoder/Decoder?
Written and maintained by the BitConvert team · Feb 27, 2026
The Base64 Encoder/Decoder translates text and binary data into the Base64 alphabet and back again. Base64 represents arbitrary bytes using 64 printable ASCII characters (A-Z, a-z, 0-9, plus and slash), which lets binary content travel safely through channels that were designed only for text, such as email bodies, JSON fields, and URLs.
Type or paste a string to encode it, or drop in a Base64 string to decode it back to its original form. Encoding is fully UTF-8 aware, so accented letters, emoji, and non-Latin scripts round-trip correctly instead of being mangled. All conversion happens inside your browser tab, so passwords, tokens, and other private strings are never uploaded. Keep in mind that Base64 is an encoding, not encryption -- anyone can reverse it, so it should never be used to hide secrets.
Key Features
Encode and Decode
Switch between converting plain text to Base64 and decoding Base64 back to the original string with one click.
Full UTF-8 Support
Correctly handles multi-byte characters like emoji and non-Latin alphabets so nothing is corrupted on round-trip.
Local Processing
Encoding and decoding run entirely in the browser, so credentials and sensitive strings never touch a server.
Copy in One Click
Send the encoded or decoded result straight to your clipboard for pasting into code, config, or data URIs.
Common Use Cases
Inspect the payload of a JSON Web Token by decoding its Base64url segments. Embed a small icon or font directly in CSS or HTML as a data URI to save an HTTP request. Decode a Base64 blob returned by an API to see the raw text or file it represents. Encode binary content so it can be safely placed inside a JSON field, an XML document, or a URL query parameter without breaking the format.
Frequently Asked Questions
Last updated: Feb 27, 2026