URL encoder / decoder

Percent-encode or decode a single value for use inside a URL.

Text stays in this browser.

Direction

encodeURIComponent rules: letters, digits, and - _ . ! ~ * ' ( ) stay as written; everything else becomes UTF-8 percent-encoding. This converts one value, not a whole URL — pasting a full URL escapes its : / ? & = separators.

How to use

  1. Paste the text.
  2. Choose encode or decode.
  3. Convert and copy the result.

What it supports

Encodes one component, not a whole URL: separators such as : / ? & = are escaped. Decoding rejects malformed % sequences and can treat + as a space.

Related tools