URL Encoder & Decoder
Percent-encode or decode URLs, query parameters, and form values in your browser. Convert spaces, plus signs, and Unicode text.
Escape a single value, including any /, & or = inside it. Spaces become %20.
How to encode a value inside a URL
If a search term is tea & coffee, encode it as a query value to get tea%20%26%20coffee. In ?q=tea%20%26%20coffee, the ampersand belongs to the search term. A bare ampersand would start another parameter.
To unpack a link stored inside another link, choose Query value or path segment and Decode. https%3A%2F%2Fexample.com becomes https://example.com.
Select Form value to read a value submitted by an HTML form. For example, C%2B%2B+guide decodes to C++ guide. Each conversion handles one layer of escaping. Encoding a literal percent sign changes it to %25.
How do I preserve a literal plus sign in a search term?
For a search term of C++, encode only the query value to get C%2B%2B. Append that value after q= in the search URL. In form data a bare plus can mean a space, so leave each encoded %2B intact until the value is decoded.
Get more from URL Encoder & Decoder
Need help with inputs or downloads? Read the help page.