Input Text

Output Text

URL Encoder Online

How to Encode URL String?

  1. Enter the URLs in input text area.
  2. Click Show Output button to generated encoded URLs

Uses

  • encode a URL for safety/parsing

Examples

Input:

https://www.textcompare.org/text/encode-url.html

Output:

https%3A%2F%2Fwww.textcompare.org%2Ftext%2Fencode-url.html

How to encode URL in Javascript?

you can encode a URL string using encodeURIComponent function.

encodeURIComponent('https://www.google.com')