This URL encoder converts text into a percent-encoded, URL-safe string. Paste your text above to encode spaces and special characters for links and query parameters.
How to use it
- Paste the text or URL component.
- Click encode.
- Copy the URL-safe result.
Example
hello world&go becomes hello%20world%26go.
Related calculators
Frequently Asked Questions
How do I URL encode text?
Paste it into the URL encoder and it replaces spaces and special characters with percent codes like %20.
What is percent encoding?
It represents unsafe characters as a percent sign followed by two hex digits, so URLs stay valid.
When do I need to URL encode?
Whenever you put text into a query string or link, so characters like spaces and ampersands do not break the URL.