Base64 Encoder & Decoder

Type or paste any text to encode it to Base64, or paste a Base64 string to decode it back to plain text. Runs entirely in your browser.

Base64 Encoder & Decoder
Please enter some text.
Copied!

How to Use the Base64 Encoder & Decoder

1

Enter your text

Paste the text or Base64 string you want to convert in the input field.

2

Encode or Decode

Click Encode to get the Base64 version, or Decode to get the original text.

3

Copy the result

Click Copy to put the output on your clipboard.

What Is the Base64 Encoder & Decoder?

Base64 is an encoding scheme that converts binary data into a string of printable ASCII characters. It is commonly used to embed images in CSS, transmit binary data over text-only protocols, store API tokens, and encode email attachments. This tool performs both encoding and decoding entirely in your browser, so sensitive data never leaves your device.

Frequently Asked Questions

Yes. This tool uses UTF-8 encoding before Base64, so emojis, accented letters, and non-Latin scripts all encode and decode correctly.

No. Base64 is encoding, not encryption. Anyone can decode a Base64 string without a key. Do not use it to protect sensitive data.

Base64 works on 3-byte blocks. If your input is not a multiple of 3 bytes, = characters are added as padding to make the output length a multiple of 4.

This tool handles text input. For binary files like images, a file-input version would be needed; however, small images can be converted with other specialized tools.

Base64encodedecodebinarytextdeveloper