Encode text or files to Base64, or decode Base64 back to text — multi-byte safe, fully client-side.
The Base64 Encoder / Decoder converts text to and from Base64 in real time. It handles multi-byte characters (emoji, CJK, accented letters) correctly using the browser's TextEncoder API — no data ever leaves your device.
Switch to File → Data URL mode to upload any file (image, PDF, audio…) and get a ready-to-use data:image/png;base64,… string you can embed directly in HTML or CSS. Use the Swap button to instantly flip input and output when chaining encode → decode operations.