Base64 Encoder/Decoder

Encode and decode text to Base64 with Unicode support and URL-safe variant.

Fill in the fields to see results

What is Base64 encoding?

Base64 is a binary-to-text encoding scheme that converts binary data into a sequence of printable ASCII characters. It is widely used to embed binary files (images, fonts, certificates) inside text-based formats such as HTML, CSS, JSON, and email bodies. This tool lets you encode any text or data to Base64 and decode Base64 strings back to their original form, entirely in your browser without uploading anything.

How does it work?

Paste your text or Base64 string into the input field and click Encode or Decode. The tool processes the data client-side using the browser's built-in TextEncoder and atob/btoa APIs, so nothing is ever sent to a server. You can optionally enable URL-safe Base64 (replacing + with - and / with _) for use in URLs and filenames.

FAQ