Back to Toolkit

Base64 Encoder / Decoder

Encode strings to Base64 or decode Base64 back to strings entirely in your browser.

100% Client-Side — Nothing ever leaves your device

1 Paste
2 Configure
3 Result
Completely Secure & Private

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.

0 characters
76 chars/line
+ → - , / → _
How It Works
1

Paste

Enter a string to encode or Base64 data to decode

2

Configure

Choose mode (encode/decode) and set options like line breaks or URL-safe output

3

Result

Copy the converted output to your clipboard

What is Base64?

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=

Privacy & Security
  • 100% client-side — runs entirely in your browser via JavaScript
  • Zero network traffic — no API calls, no server requests, no data transmission
  • Nothing stored — input and output are never logged, recorded, or saved
  • Works offline — once the page loads, it functions without any internet connection
Common Use Cases

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.