Base64 Encode/Decode

Encode text to Base64 or decode Base64 back to text

Encoders & Decoders Runs in your browser

How to Use

1Select Encode or Decode mode
2Toggle URL-safe mode if needed for URLs
3Paste or type your text in the input area
4The Base64 result appears instantly in the output
5Click Copy to copy the result to your clipboard

Frequently Asked Questions

What is Base64 encoding?

Base64 is a binary-to-text encoding scheme that converts binary data into a sequence of ASCII characters. It's commonly used to embed images in HTML, encode email attachments, and transmit data safely over text-based protocols.

What is URL-safe Base64?

URL-safe Base64 replaces + with -, / with _, and removes trailing = padding. This makes the encoded string safe for use in URLs and filenames.

Is my data safe?

Yes, all encoding and decoding happens directly in your browser using JavaScript's built-in btoa() and atob() functions. No data is sent to any server.

Related Tools