URL Encode
URL-encode text
Plain text
Empty
Encoded
Example output:
hello%20world
Empty
About this tool
URL Encode percent-encodes a value with encodeURIComponent. It is intended for a URL component such as one query parameter value.
Inputs, results and saved preferences stay in this browser.
When to use it
- Encode spaces and punctuation in a search parameter.
- Prepare a path segment containing reserved characters.