Base64 Encode & Decode
Encode and decode Base64 text and files instantly
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.
Embed
Add this tool to your site
Free to embed anywhere — paste this snippet into your HTML and the tool appears right on your page.
It resizes itself automatically. Add data-theme="dark" or data-theme="auto" to match your site.
<script async src="https://whatsmytools.com/embed.js" data-tool="base64"></script> More tools
You might also like
FAQ