TOOL
URL Encoder / Decoder
Percent-encode text for URLs and decode it back. Component and full-URI modes. Runs locally.
Processing happens locally in your browser. Nothing you type is sent to BlackhawkHub.
How to use it
Choose encode or decode and enter your text. Component mode (the default) encodes every character that has meaning in a URL, including / ? & = #, which is what you want for a single query-parameter value. Turn it off for full-URI mode, which leaves those structural characters intact so you can encode a whole URL without breaking it.
Why encoding matters
URLs may only contain a limited set of characters. Spaces, ampersands, question marks and non-ASCII characters must be percent-encoded, or they change the meaning of the URL or produce a 400 Bad Request. To see the structure of a URL, use the URL Parser.
Frequently asked questions
What is the difference between component and full-URI encoding?
Component mode (like JavaScript's encodeURIComponent) encodes everything unsafe including / ? & = , suitable for a single query value. Full-URI mode (like encodeURI) leaves those structural characters alone, suitable for encoding a whole URL. Use component mode for individual parameter values.
Why does a space become %20 or +?
In a path or generic URI a space is %20. In a query string, application/x-www-form-urlencoded form data, a space may be encoded as +. This tool uses %20; be aware some form handlers expect +.