URL Encoder
Paste a URL or string to percent-encode it, or paste an encoded value to decode it. Toggle between component and full URI encoding.
Scope
Encoding and decoding happen in your browser. Nothing is uploaded.
How to use this url encoder
- Pick Encode or Decode.
- Paste your URL or string.
- Choose Component (recommended) or Whole URI.
- Click the action button and copy the result.
Frequently asked questions
What is URL encoding?
URL encoding (or percent-encoding) replaces unsafe characters with percent (%) followed by a hexadecimal value, so the URL can be transmitted safely.
What is the difference between Component and Whole URI?
Component encoding (encodeURIComponent) escapes characters like /, ?, & and #. Whole URI encoding (encodeURI) leaves these alone, which is right when encoding a complete URL but not a single value.
Does it support UTF-8?
Yes. The native browser encodeURIComponent / decodeURIComponent functions handle UTF-8 characters correctly.
Is anything uploaded?
No. Encoding and decoding happen in your browser.