Base64 Encode / Decode

Encode text to Base64 or decode it back, with UTF-8. Free, no sign-up.

About Base64 Encode / Decode

Base64 turns text or data into a set of 64 safe characters, which is used in emails, data URIs and APIs. This tool encodes and decodes with full UTF-8 support.

How to use Base64 Encode / Decode

  1. Paste text or Base64.
  2. Press “Encode” or “Decode”.
  3. Copy the output.

Frequently asked questions

Is Base64 encryption?

No. Base64 is encoding, not encryption. Anyone can decode it, so never use it to hide passwords.

What is URL-safe Base64?

It replaces + and / with - and _, so the string can be used in URLs without escaping.

Why does decoding fail?

The input may contain characters outside the Base64 alphabet or be cut short. Check for missing characters at the end.

More developer tools

See all →