Base64 Encode / Decode
Encode text or files to Base64 and decode Base64 back — entirely in your browser.
runs locally — nothing leaves your browser
About this tool
Base64 is the standard way to represent binary data as ASCII text. This tool runs three modes locally using the browser's native TextEncoder, btoa, and atob APIs: encode any UTF-8 text to Base64, decode Base64 (standard or URL-safe) back to text, or read any file as a Base64 data URL ready to paste into HTML, CSS, or JSON. No bytes are sent to a server.