EsyTool

URL Encoder & Decoder Online

Encode or decode URLs and query strings using percent-encoding.

Runs entirely in your browser
Rate URL Encoder & Decoder
4.7(243 votes)Rate URL Encoder & Decoder
How to use URL Encoder & Decoder
  1. 1Paste your URL or text string into the input field.
  2. 2Click 'Encode' to percent-encode special characters, or 'Decode' to reverse the encoding.
  3. 3Copy the encoded or decoded result.
Privacy & security

URL encoding and decoding run in your browser's JavaScript environment. No data is transmitted to any server.

Encoding and decoding run in your browser. No data is sent to any server.

Frequently asked questions
What is URL encoding?

URL encoding (percent-encoding) converts special characters into a %XX format so they can be safely transmitted in URLs. For example, spaces become %20.

When do I need to URL-encode something?

When passing user input in query strings, embedding URLs inside other URLs, or constructing API request parameters programmatically.

What's the difference between encodeURI and encodeURIComponent?

encodeURI encodes a full URL, preserving characters like /, ?, &, and =. encodeURIComponent encodes a single component (like a query value), converting those characters too.