URL component encoder
Encode a path segment or query parameter value, not a full URL.
Percent-encode text for one part of a URL.
About this tool
The URL component encoder converts text into percent-encoded data that can be placed safely in one URL path segment or query value. Use it when building a search link, adding a filename to a route, or passing text that contains spaces and punctuation. Enter only the component you want to encode, not the whole address. Letters, numbers, and safe URL characters remain readable while reserved characters receive UTF-8 percent encoding.