Convert text or files to and from Base64 — UTF-8 safe, all in your browser.
Base64 represents binary data using only 64 printable ASCII characters (A–Z, a–z, 0–9, + and /). It's used to embed images or files inside text formats like JSON, HTML, CSS data URIs, and email attachments, where raw bytes would be corrupted. Encoding grows the data by roughly one third.
The browser's built-in btoa() only handles Latin-1 and throws on characters like é, 中 or 😀. This tool encodes text as UTF-8 first, so any Unicode text round-trips correctly through encode and decode.
Base64 is fully reversible and provides no security — anyone can decode it. Use it for transport and embedding, never to hide secrets. If you need protection, encrypt the data first.
Yes. Encoding and decoding run entirely in your browser tab. Files you select are read locally and never leave your device. Open the network tab to verify — the tool even works offline once loaded.