ToolNestr

Base64 Encode / Decode

Paste text to encode it to Base64, or paste Base64 to decode it back to text. It handles emojis and every language correctly.

About Base64 encoding

Base64 turns text (or any data) into a string of safe characters that can travel through systems that only handle plain text — like URLs, email headers, JSON and data URIs. Developers use it constantly. This tool encodes and decodes instantly, with full UTF-8 support so emojis and every language work correctly, all without sending your data anywhere.

How to use it

  1. Paste your text or Base64 into the top box.
  2. Click “Encode” to convert to Base64, or “Decode” to convert back.
  3. Tick “URL-safe” if you need a Base64 string that’s safe inside URLs.
  4. Copy the result from the bottom box.

Frequently asked questions

What is Base64?

Base64 is a way of representing binary data or text using 64 safe characters. It is often used to embed data in URLs, emails, JSON or HTML.

Does it support emojis and other languages?

Yes. The tool uses UTF-8, so emojis, accents and non-Latin scripts encode and decode correctly.

Why do I get a "could not decode" message?

The input isn’t valid Base64. Check for missing characters, extra spaces, or that you actually pasted Base64 and not plain text.

Is my data private?

Yes. Everything is processed in your browser — nothing is uploaded.

Related tools

Try the JSON Formatter or all developer tools →