Base64
Text
Encoded and decoded
SGVsbG8gZnJvbSBEZXZlbG9wZXIgVG9vbHM=�e���7�zZ)z��[SGVsbG8gZnJvbSBEZXZlbG9wZXIgVG9vbHM=�e���7�zZ)z��[The Base64 tool converts text and files to Base64 and decodes Base64 strings back to their original form, right in your browser. It handles UTF-8 text, binary files and image data URLs, so you can embed images in CSS or HTML, inspect API payloads, or debug encoded headers without installing anything.
No. The tool runs entirely in your browser with JavaScript. Your data never leaves your device, nothing is logged, and it keeps working offline once the page has loaded.
Base64 turns binary data into plain ASCII text so it can travel through systems built for text, such as JSON APIs, email (MIME), HTTP headers like Basic Auth, and data URLs that embed images directly in HTML or CSS.
No. Base64 is an encoding, not encryption. Anyone can decode it, so never use it to protect passwords or secrets. It also makes data about 33% larger.
Choose Encode, select the image file, and the tool produces the Base64 string. Prefix it with the image's MIME type, for example data:image/png;base64, to use it in an img src or CSS background.
Last updated: October 2026 · Built by Derar Sattouf