URL Encoder Online
Percent-encode a text value for use inside a URL component. Convert spaces, reserved separators and Unicode characters without assembling a full URL by hand.
- Encode individual URL components
- Turn spaces into %20
- Handle Unicode with UTF-8 escaping
Encode the value, not the address
Use this tool for a query value or path segment. It applies encodeURIComponent, which also escapes separators in a complete URL.
Keep separators out of your data
A value containing an ampersand could otherwise start another query parameter. Encoding keeps that character within the intended value.
Avoid double encoding
Encode original text once. Encoding an already escaped percent sign changes %20 into %2520, which may not be what your application expects.
Build multiple parameters safely
For several named parameters, use Query String Builder. It handles names and repeated values together instead of requiring manual ampersand placement.
URL Encoder FAQs
This encoder treats the input as one component, not as a complete navigable URL.
No. Percent encoding changes representation, not the destination or its trustworthiness.
Enter the original value, such as tea & coffee. Component encoding produces tea%20%26%20coffee, keeping the ampersand inside the value instead of starting another parameter. Use Query String Builder when encoding several named parameters together.