Base64 & URL Encoder

Output

How it works

Encode or decode text as Base64, URL (percent) encoding or HTML entities. Unicode and emoji are handled as UTF-8, and URL-safe Base64 is supported.

What is Base64?

Base64 represents binary data or any text using only 64 safe characters (A–Z, a–z, 0–9, + and /). It's used in email attachments, data URLs, JWTs and HTTP Basic auth headers. The output is about 33% larger, and it is not encryption: anyone can decode it.

URL encoding and HTML entities

  • URL encoding turns characters that can't appear in a URL (spaces, &, =, non-ASCII) into %XX sequences, like encodeURIComponent. When decoding, + is treated as a space.
  • HTML entities escape < > & " ' so text can be shown literally inside HTML.

Text is converted as UTF-8 bytes, so non-English characters and emoji survive the round trip. Everything runs in your browser.

You might also like

JSON FormatterBeautify, validate, minify JSON Unix Timestamp ConverterEpoch time ↔ date