How to use URL Encoder
- Enter the text to encode.
- Run the URL encoder.
- Copy the encoded value into the appropriate URL component.
Practical example
A search term such as red & blue needs encoding when used as a single query parameter value, so the ampersand is not mistaken for a parameter separator.
Important limitations
Encoding an entire URL as though it were one query value can break separators and slashes. Use component encoding for parameter values.
Frequently asked questions
Why do spaces become percent codes?
Percent encoding represents characters using an ASCII-compatible form for URLs.
Should I encode a full URL or one parameter?
For query parameter values, encode each value separately.
Should I encode a full URL?
Encode individual parameter values rather than treating the whole URL as one component.
Why is an ampersand encoded?
It has a structural meaning in query strings and needs encoding inside a value.
Related tools and guides
Explore the related tools alongside this page or read more in our practical guides.