IT Market
Tools/Code/Data/URL Encoder Online — Percent Encoding
URL Encode

Кодируйте текст для URL

Tool guide

URL Encoder

A link breaks at exactly the point where a space, an ampersand or a question mark slipped into a parameter: everything after it is read as a new parameter. This tool swaps those characters for percent sequences and turns non-Latin letters into UTF-8 bytes like %D0%9F. The output is safe to drop into utm_content, a redirect target, a search query nested in a link, or the prefilled text of a WhatsApp button. See also: read an already encoded link back, build a query string from a JSON object, turn a title into a clean URL slug.

How to use it

  1. Type the text into «Text Input»; its hint shows a mixed example, Hello World! Привет мир!.
  2. Encode the parameter value rather than the whole address, or the colon and the domain slashes turn into percents too.
  3. Press «Encode» and read the escaped string in the «URL Encoded» field.
  4. Press «Copy» and paste the result after the equals sign of the parameter you are building.
  5. Press «Clear» to clear both fields before the next string.

FAQ

How do I nest one link inside another link's parameter?

Encode the inner address in full and paste the result after the equals sign. The colon becomes %3A, the slashes %2F, and the inner question mark and ampersands become %3F and %26, so the outer link stops falling apart. Skip this and the server reads the inner query string as its own parameters.

Should a space be %20 or a plus sign?

In a path and in ordinary query parameters %20 is the correct form; a plus is only valid in form data submitted as application/x-www-form-urlencoded. This tool emits %20, which every system accepts. Switch to a plus only when the receiving side explicitly expects form encoding.

Why does one Cyrillic letter become two percent groups?

Because bytes are encoded, not characters. A Cyrillic letter takes two bytes in UTF-8, and each byte is written as a percent plus two hex digits, giving you %D0%9F. Links grow noticeably longer as a result, which is normal but worth watching where a legacy system caps URL length.

Should I encode the whole address including the domain?

No, and it is a common mistake. Running a full URL through an encoder turns the scheme and host into percent sequences and the link stops opening. Encode the value of a single parameter and leave the structure — the colon, the slashes, the & and = separators — untouched.

Which characters are left alone?

Latin letters, digits and a small unreserved set: hyphen, underscore, period and tilde. The standard says those may stay as they are. Everything else — spaces, non-Latin letters, brackets, slashes, punctuation and the reserved URL delimiters — is replaced by percent sequences.

Do the strings I type reach your server?

No. The conversion is done by the page script in your open tab, so a promo code, an order number or a draft campaign tag never leaves the machine. Nothing is logged, and the clear button wipes both fields if someone else can see the screen.

Examples

UTM tag whose campaign name has spaces
Before: winter sale & spring drop
After: winter%20sale%20%26%20spring%20drop
Return address nested inside a parameter
Before: https://example.com/account?tab=orders
After: https%3A%2F%2Fexample.com%2Faccount%3Ftab%3Dorders