URL encoding, query parser and redirect debugger
Encode URL components, decode percent-encoded strings, inspect query parameters, detect tracking fields, review nested redirect destinations, compare plus-as-space behavior and copy a clean URL for debugging APIs, analytics links and redirects.
URL processing runs in your browser. This tool does not open the destination; it inspects the string and the parsed URL structure.
URL encoding protects structure from accidental meaning
A URL uses certain characters for structure. A question mark starts the query string, ampersands separate parameters, equals signs assign values, slashes separate paths and hash fragments stay on the client side. When a value itself contains spaces, symbols, another URL or JSON-like text, those characters need percent encoding so the browser or API does not misread them as URL structure. That is why URL encoding matters in redirect links, OAuth callbacks, analytics campaigns, search URLs, webhook examples and API clients.
This URL encoder and decoder is built for troubleshooting, not just one-click conversion. It decodes percent-encoded text, encodes full URLs or individual components, parses query parameters, identifies tracking fields, extracts nested redirect destinations and creates a cleaner URL with common tracking parameters removed. It also shows plus handling because form encoding often treats plus as a space, while normal URL paths do not.
How to choose the right encoding mode
Use encodeURIComponent behavior when you are encoding one value that will go inside a query parameter. Use full URL encoding only when the URL structure should remain readable while unsafe characters inside it are escaped. Use decode mode when reviewing a link from an email, redirect chain, API log or analytics export. If the value contains an encoded URL inside another parameter, increase decode depth and inspect the nested URL tab.
- Decode URL reveals readable query values and nested destinations.
- Encode component is best for one query value, such as a search term or callback URL.
- Encode full URL keeps URL separators readable while escaping unsafe characters.
- Parameters separates application values from tracking fields.
- Clean URL removes common campaign and click identifiers for calmer debugging.
Useful checks before clicking or sharing a link
Decode the URL and check the hostname before trusting the visible text. Long links can hide a redirect parameter that points somewhere else. UTM parameters are normally harmless, but they add noise when you are debugging canonical URLs, redirects or API signatures. Double encoding often appears when a callback URL has been encoded once for a parameter and then encoded again for a redirect. That can be valid, but it should be deliberate.
Common questions
Should I encode a whole URL or only a component?
If the value goes inside another URL parameter, encode the component. Encoding the whole URL is useful when the URL itself is the final destination and its structural characters should remain visible.
Why does plus sometimes become a space?
HTML form style query encoding often uses plus for spaces. In other URL contexts, plus can be a literal plus sign. This tool lets you compare both interpretations.
Can this check whether a redirect is safe?
It can expose nested destinations and suspicious structure, but it does not open the page or guarantee safety. For final checks, use a redirect checker and verify the real domain.
Which characters need URL encoding?
Spaces (%20), reserved characters such as and, question mark, hash and slash when they appear inside a value, plus any non-ASCII character.
What is the difference between encodeURI and encodeURIComponent?
encodeURI keeps URL structure characters intact for a full URL; encodeURIComponent encodes them too, which is what you want for a single query-string value.
Why do I sometimes see + instead of %20 for a space?
Percent-encoding uses %20; the application/x-www-form-urlencoded format used by HTML forms uses + for a space. Both decode to a space in the right context.













