URL Encoder example 1
Input
hello world?x=1&y=2
Output
hello%20world%3Fx%3D1%26y%3D2
Encodes unsafe characters so the value can be used safely in a URL.
Developer Tools
Review practical URL Encoder examples so you can understand expected input, output, and common patterns faster.
Use this URL encoder to convert special characters into percent-encoded text for safe use in links, query strings, and parameter values. It is useful when building URLs, debugging tracking parameters, or preparing text that would otherwise break inside a URL.
Example pages are especially useful for developer tools because they show what good input looks like, what kind of output to expect, and how the tool behaves in common scenarios.
Input
hello world?x=1&y=2
Output
hello%20world%3Fx%3D1%26y%3D2
Encodes unsafe characters so the value can be used safely in a URL.
Input
summer sale
Output
summer%20sale
Turns a search phrase with spaces into a URL-safe value.
Fix: Encode only once, then compare the output before using it.
Fix: Encode only the specific part you actually need to protect.
Fix: Run the value through URL encoding before adding it to the link.
After reviewing these examples, run the live tool with your own input. If your task involves a follow-up step, the related page can help you move to the next tool in the workflow.
Open the main URL Encoder page and test your own real input.