UniToolHub

URL Encoder

Encode and decode URL strings online.

Advertisement

About URL Encoder

Encode and decode URLs online. Convert special characters to percent-encoded format and decode percent-encoded URLs back to readable text.

How to Use

  1. 1

    Enter input

    Type or paste the URL or text to encode/decode.

  2. 2

    Choose mode

    Select Encode or Decode.

  3. 3

    Copy result

    Click copy to grab the output.

Examples

Encode
Input: Hello World & Goodbye!
Output: Hello%20World%20%26%20Goodbye!
Decode
Input: Hello%20World
Output: Hello World

Frequently Asked Questions

What is URL encoding?
URL encoding (percent encoding) replaces unsafe characters with a '%' followed by their hex code. For example, a space becomes '%20'.
When do I need to URL encode?
Whenever you include special characters in URLs, query parameters, or form data. Characters like &, =, ?, #, and spaces need encoding.
What's the difference between encodeURI and encodeURIComponent?
encodeURI encodes a full URI preserving reserved characters. encodeURIComponent encodes everything except unreserved characters, suitable for query parameter values.