Base64 Encoder & Decoder

Convert text to Base64 or decode Base64 back to text. Works correctly with non-English text and emoji, not just plain ASCII. Runs entirely in your browser.

About this tool

This tool converts text to and from Base64 encoding — useful for embedding binary-safe data in JSON or URLs, debugging an API payload, or decoding a Base64 string you've come across while working with email attachments or web data.

How to use it

  1. Type or paste your text into the input box.
  2. Choose "Encode" to convert to Base64, or "Decode" to convert Base64 back to text.
  3. Click "Copy" to copy the result.

Frequently asked questions

Is Base64 encryption?

No — Base64 is an encoding scheme, not encryption. It makes data safe to transmit as text, but anyone can decode it instantly; don't use it to protect sensitive information.

What happens if I try to decode invalid Base64?

The tool shows an error, since not every string of characters is valid Base64 — check for missing padding or characters outside the Base64 alphabet.

Is my data uploaded anywhere?

No — encoding and decoding happen entirely in your browser; your text is never sent to a server.