Home

URL & Base64 Encoder / Decoder

Encode or decode URLs and Base64 text, convert Unicode escapes, and work with HTML entities.

How to encode and decode URLs and Base64

  1. Pick a conversion mode: Url, Base64, Unicode or HTML entities.
  2. Type or paste your text into the “Input” box on the left.
  3. Click the encode button (for example UrlEncode) or the decode button (for example UrlDecode) in the middle. The result appears in the “Output” box on the right.
  4. Copy the output to use it, or click “Clear” to empty the matching input or output box.

FAQ

Is my data uploaded?
No. Encoding and decoding both run in your browser and the text is never sent to a server.
Which URL encoding rules does it use?
Url mode uses the browser’s encodeURIComponent and decodeURIComponent, so non-ASCII characters become UTF-8 %XX sequences. It also encodes characters such as / ? & = and :, which makes it suited to parameter values rather than a whole link.
Does Base64 work with non-English text?
Yes. Text is converted to UTF-8 bytes before Base64 encoding, and decoding ignores whitespace and reads the result back as UTF-8. Decoding expects the standard Base64 alphabet, so a URL-safe variant containing - and _ must first be changed to + and /.
What do the Unicode and HTML entities modes do?
Unicode mode turns every character into a \uXXXX escape (characters outside the basic plane become two escapes), and decoding only restores that \uXXXX form. HTML entities mode converts & < > and quotes to named entities and non-ASCII characters to &#number; form, and decoding restores common named and numeric entities.
JWT Decoder JSON Formatter / Minifier Timestamp Converter QR Code Generator / Reader String Length Calculator Word to HTML

English · 简体中文 · 繁體中文 · Bahasa Indonesia · Tiếng Việt · 日本語 · Español · Português (Brasil) · Bahasa Melayu · Nederlands · Čeština · العربية