summer salesummer%20saleConverter
Encoder
Convert characters into a URL-safe encoded format.
Process one query value, path segment, or parameter value.
Spaces, Unicode, punctuation, and reserved characters are encoded explicitly.
Encoded result
Enter text or a URL component to see the result.
This utility processes a URL component explicitly. It does not validate a complete URL or alter remote data.
URL components
URL encoding converts characters into percent-encoded UTF-8 byte sequences for use within a URL component.
Use it for one query value, path segment, or parameter value—not for an entire URL structure.
When to use it
Encoding is appropriate when spaces, Unicode, punctuation, or reserved characters belong to one component rather than the surrounding URL syntax.
Percent-encoding examples
Each example processes one URL component using UTF-8 percent encoding.
summer salesummer%20salea/ba%2Fb100%100%25a&ba%26bDifferent responsibilities
Represents bytes inside URL components using percent sequences.
Represents characters that have special meaning in HTML markup.
Characters such as /, ?, &, and = can define URL structure.
Worked example
Frequently asked questions
URL encoding represents characters with percent-encoded byte sequences so one value can be used safely as a URL component.
The UTF-8 byte value used for a space is represented as the hexadecimal value 20, prefixed by a percent sign.
No. This version explicitly encodes one URL component. Encoding a complete URL as one component would also encode structural characters such as slashes and colons.
No. URL encoding represents bytes in URL components. HTML encoding represents characters that have special meaning in HTML markup.
No. The transformation uses the browser's built-in JavaScript encoding primitive and does not call an external service.
Sources and methodology
This tool runs locally and uses the native JavaScript encodeURIComponent primitive. It processes one URL component explicitly and does not call an external service.
Accuracy & trust
We test and review CoreBase tools, formulas, and information to keep them useful and accurate. Occasional inaccuracies or circumstances specific to your situation can still affect a result, so verify important decisions against your own requirements.
Found something that does not look right? Tell us so we can review and improve it.