Encode string to URL-encoded format



How URL Encoding (Percent-Encoding) Works

URLs only allow a safe subset of ASCII characters. Characters like spaces, &, =, ?, #, /, and non-ASCII UTF-8 letters must be percent-encoded (for example, space becomes %20 or + in form bodies, and & becomes %26) so query parameters do not break URL parsing.

  • Common Uses: Encoding OAuth redirect_uri parameters, search queries, mailto: bodies, and application/x-www-form-urlencoded POST payloads.
  • Related Tools: Switch to URL Decode or check direct API examples on the URLencode API & FAQ page.
Please read the privacy policy (agreement of the cookies usage, other websites embedded content, etc.). If you continue to use the site, we will assume that you agree with our privacy policy.
OkPrivacy Policy