Encode strings to Base64 or decode Base64 back to strings entirely in your browser.
100% Client-Side — Nothing ever leaves your device
This tool runs entirely in your browser using JavaScript. No network requests are made, no data is transmitted to any server. Your input and output exist only in your browser's memory until you close the page.
Paste
Enter a string to encode or Base64 data to decode
Configure
Choose mode (encode/decode) and set options like line breaks or URL-safe output
Result
Copy the converted output to your clipboard
Base64 is a binary-to-text encoding scheme that represents binary data using a set of 64 ASCII characters (A–Z, a–z, 0–9, +, /).
It is commonly used to embed binary data in text-based formats such as email (MIME), JSON, XML, data URIs, and HTTP headers.
For example: Hello becomes SGVsbG8=
Data URIs — encode images or files for embedding in HTML/CSS.
API tokens — decode Base64-encoded auth tokens or JWT payloads.
Email attachments — encode or decode MIME-encoded content.
Configuration — decode Base64-encoded secrets in config files or environment variables.