URL Encode

Percent-encode text so it can be safely placed in a URL, query string or form body.

Input
Output
Ad · in-content

About the URL Encode

URLs may only contain a limited set of characters; spaces, ampersands, slashes and Unicode must be percent-encoded to travel safely. This tool applies encodeURIComponent semantics so each reserved or non-ASCII character is escaped correctly.

Encoding is local and instant. Use it to build query parameters, encode redirect targets, or escape user input before putting it in a link.

How to use the URL Encode

  1. 1Type or paste your text.
  2. 2Click “URL Encode”.
  3. 3Copy the encoded string.

Key benefits

  • Correct percent-encoding.
  • Full Unicode support.
  • Private and instant.

Real-world examples

Build a query param

Encode a value before adding it to a URL.

Encode a redirect

Safely embed a return URL in a link.

Frequently asked questions

Does it encode every character?+

It encodes everything except unreserved characters, matching encodeURIComponent — ideal for individual query values.

Related tools

Ad · sticky-mobile