Encode text or files to Base64, or decode Base64 strings back to plaintext — instantly, in your browser. No server, no upload, 100% private.
Base64 converts binary data into a text string using 64 printable ASCII characters. Widely used in data URLs, email attachments (MIME), and API payloads.
Reverses the process — takes a Base64 string and returns the original binary or text. Essential for reading encoded API responses or email content.
Standard Base64 uses + and / which conflict with URLs. The URL-safe variant replaces them with - and _ and omits padding.
Images can be embedded directly in HTML/CSS as data:image/png;base64,… — no extra HTTP request needed for small assets.
btoa() and atob() functions. Nothing is sent to any server.=) are added to make the Base64 output length a multiple of 4. They have no informational value and some systems omit them (URL-safe mode).