All tools

Base64 Encode & Decode

Convert text to and from Base64 with UTF-8 support — instantly and offline.

Direction
Input
Output

Paste input to see live output.

What is Base64?

Base64 is a binary-to-text encoding scheme. It represents binary data using a set of 64 printable ASCII characters, which makes it safe to embed in text formats like JSON, HTML attributes, and email.

How to use it

Paste text in the input area and choose Encode or Decode. The result updates as you type. Use Copy to grab the output, or Clear to reset both fields. Everything runs locally in your browser.

Common use cases

Data URIs for small assets, encoding binary payloads in APIs, MIME and email attachments, and embedding opaque blobs where only text is allowed.