Encoding Converter

Convert between Base64, hex, URL encoding, HTML entities, Unicode escapes, ROT13, binary, Morse code, Punycode, ASCII85, and Braille.

How to encode or decode text

  1. Paste your input. Its format is detected automatically, with a confidence indicator.
  2. Choose the output format: Base64, Base64url, hex, URL encoding, HTML entities, Unicode escapes, binary, ROT13, Morse code, Punycode, ASCII85, Braille, or plain text.
  3. Copy the result, or swap input and output to chain conversions.
  4. Turn on batch mode to convert each line separately.

Decode the strings you run into

Developers constantly run into encoded data: Base64 in tokens and config files, percent-encoded URLs, é escapes in JSON, hex dumps, and xn-- international domain names. Paste the value and the converter works out what it is and decodes it. Everything is UTF-8 aware, so accented characters and emoji survive the round trip.

Frequently asked questions

Is my data uploaded?

No. Encoding and decoding happen in your browser, which matters when you're decoding tokens, credentials, or Base64-encoded secrets.

Is Base64 encryption?

No. Base64 is an encoding that anyone can reverse. Don't rely on it to hide sensitive data; use the Encryption Tool instead.

What's the difference between Base64 and Base64url?

Base64url replaces + and / with - and _, and usually drops the = padding, so the result is safe in URLs and file names. JWTs use it. For escaping strings for code, see String Escape.

Related tools

More in Text & Code Tools · All 73 tools