URL Encoding for Query Parameters, Spaces & Unicode
Encode or decode URL components and form values, including spaces, reserved characters, and Unicode text.
Encode one value at a time
A query string uses & to separate parameters and = to separate names from values. Encode those characters when they are part of the value. For example, enter tea & coffee, select Encode component, and append tea%20%26%20coffee after ?q=.
Choose between percent encoding and form encoding
In component mode, a space becomes %20. Form mode follows the application/x-www-form-urlencoded rules and represents that space with +. A literal plus becomes %2B. Choose form decoding only when the source uses that form format. See the WHATWG URL Standard.
Avoid double encoding
Encoding %20 again yields %2520 because the percent sign is part of the input. If your framework already serializes query parameters, pass the original text to it. Use the decoder to inspect a value that is already encoded.
Fix malformed escape sequences
Each percent escape needs two hexadecimal digits. Unicode characters often require several consecutive UTF-8 bytes. An incomplete escape like %E2%82 will trigger an error. Check the original value and encode it again before building your URL.
Open the URL Encoder & Decoder to try the workflow in your browser.
Ready to Format Data Faster?
Experience instant, 100% private in-browser delimiter tools, SQL conversions, and file converters with zero server uploads.