Base64 Encode / Decode
Convert text to Base64 or decode Base64 back to readable text. Fully UTF-8 safe, so emoji and non-Latin scripts round-trip correctly. Everything runs locally in your browser.
How to use this Base64 tool
Paste any text into the input box and click Encode to convert it to Base64, or paste a Base64 string and click Decode to recover the original text. If the input isn't valid Base64, the tool tells you clearly instead of failing silently. Use Copy Output to grab the result for pasting elsewhere.
What is Base64 used for?
Base64 encodes arbitrary binary or text data as a string of printable ASCII characters, which makes it safe to embed in places that don't handle raw bytes well — JSON payloads, URLs, email attachments (MIME), data URIs for images, and HTTP authentication headers. It isn't encryption and provides no security on its own; it's purely a format conversion so binary-unfriendly systems can carry arbitrary data intact.