Encode & Decode
Base64 Encoder & Decoder
Convert text or files to Base64 and back. Everything runs in your browser.
Plain Text Length
0 characters
Base64 Length
0 characters
How it works
Base64 is a binary-to-text encoding scheme that represents binary data using 64 ASCII characters (A-Z, a-z, 0-9, +, /). It is commonly used to embed images in HTML/CSS, encode email attachments (MIME), transmit binary data in JSON or XML, and create data URIs. This tool uses the browser's built-in btoa() and atob() functions for text, and FileReader.readAsDataURL() for binary files. Everything runs entirely in your browser — no data is sent to any server.