About URL Encoding
URLs can only contain a limited set of characters, so everything else — spaces, ampersands, non-English letters, symbols — must be percent-encoded as a % followed by hex bytes. The subtlety is that there are two different jobs: encoding a component (a single query value, where &, = and / must all be escaped) and encoding a whole URL (where those separators must be kept intact). Using the wrong one is the classic cause of broken links and mangled query strings, so this tool offers both, plus the form-post variant that encodes spaces as +.
The parser below splits any URL into protocol, host, port, path, fragment and each query parameter with its decoded value — handy when debugging redirect chains, OAuth callbacks, tracking parameters or overly long SharePoint links. All processing is local JavaScript.
How to Use This Tool
+.Common Use Cases
- Building query strings. Encode a search term or redirect URL before appending it to a link so characters like
&and?don't break the URL structure. - Reading tracking links. Paste a long marketing or phishing-suspect URL into the parser to see every query parameter decoded — the destination hidden inside a
url=parameter becomes obvious. - Debugging webhooks and forms. Decode form-encoded request bodies captured in logs to see what was actually submitted.
- Email link auditing. Unwrap safelink-wrapped URLs from email security gateways to check where they really point before clicking.
- API testing. Verify the exact percent-encoding your client sends matches what the server expects — especially for values containing
+,%or non-ASCII characters.
Which Mode Do I Need?
- Encode component. You are inserting a value into a query string:
?q=+ encoded value. Escapes &, =, /, ? and everything unsafe. - Encode full URL. You have a complete URL with spaces or unicode in it and want it clickable without breaking its structure.
- Form encode. Matches application/x-www-form-urlencoded bodies — spaces become +.
- Decode. Paste anything percent-encoded to read it — works for both variants.
Frequently Asked Questions
%2525 decodes to %25, which decodes again to %. Use the ⇅ button to feed the output back through Decode until it stops changing.+ means a space only inside application/x-www-form-urlencoded data (traditional form submissions). In URL paths and modern query strings, use %20. When in doubt, %20 is always safe; + in a path is a literal plus sign.Fish & Chips must become Fish%20%26%20Chips.