Query values
Encoding prevents spaces, ampersands and symbols from breaking query strings or request URLs.
Browser-based developer tools
Encode and decode URL components, query values and percent-encoded text locally in your browser.
Reference notes
Encoding prevents spaces, ampersands and symbols from breaking query strings or request URLs.
Decoded output helps inspect copied links, redirect URLs and API callback parameters.
Formalint uses component encoding, which is appropriate for query values and path fragments.
Frequently asked
Percent-encoding replaces reserved and unsafe characters with a % followed by the character's hex code. Query strings sometimes use + for spaces instead, depending on the encoding context, which this tool distinguishes between.
Reserved characters like &, =, ?, #, and space, along with any non-ASCII characters, need encoding when they appear inside a query parameter value to avoid being misread as part of the URL structure.
Encoding an already-encoded string turns a % into %25, corrupting the value. This is a common bug when a value passes through more than one layer of URL building without checking whether it was already encoded.