When a link breaks after copying or encoding, first identify which part changed. A complete URL, a single query value, and a form-encoded value follow different rules. The companion URL parser and encoder lets you inspect those parts without opening the destination.
Inspect a harmless example first
https://example.com/search?q=red+blue&tag=photo&tag=print#resultsChoose Inspect an absolute URL under Operation, paste the complete URL, and select Run URL operation. Inspect the scheme, hostname, path, query entries, and fragment. The query contains two entries named tag. Keeping only the first would lose information. The fragment is the part after #; it is separate from the query.
URL inspection is capped at 16,384 characters; component and form-value transformations are capped at 1,048,576 characters. The tool can show the browser’s normalized representation as well as the input. Parsing and serialization may normalize details such as a hostname’s case or an encoded representation. The WHATWG URL Standard defines these behaviors. A normalized URL is not a security verdict or proof that the address exists.
A plus sign depends on the decoding mode
Under form-style query decoding, + represents a space. A literal plus must be encoded as %2B. Generic component decoding treats a plain plus differently. URLSearchParams follows form-style query rules, which is why the sample’s q value becomes “red blue.”
Original value: A+B C
Component encode: A%2BB%20C
Form encode: A%2BB+CBoth encoded values can represent the same text when decoded using the matching rules. Mixing the rules changes the result.
Choose component encoding for a single value when that is what the receiving API expects. Choose form-style encoding for a form-style value. Do not encode an entire ready-made URL as though it were one ordinary query value unless you intentionally need a URL nested inside another parameter. The component-encoding reference explains which reserved characters are escaped.
A careful copy-and-repair workflow
- Keep the original URL in a private local note. Replace sensitive tokens with synthetic values before troubleshooting when possible.
- Parse the full address. Inspect the actual hostname, repeated parameters, and any warning that credentials are present rather than relying on the visible start of the string. Username and password fields are omitted from the report; query values and fragments can still contain secrets.
- Identify the single component you need to encode or decode. Select the matching mode.
- Transform it once and compare the result with the original. Keep delimiters such as
&and=structural when building a query; encode them when they are part of one value. - Copy only the intended result. Test a non-sensitive example in the receiving application before changing a production link.
Recognize double encoding without guessing
If %2F becomes %252F, the percent sign has itself been encoded. That can be correct for a nested representation, or it can be accidental double encoding. Decoding repeatedly until a string “looks right” is not a reliable repair method. Check the interface contract and how many transformations the data should pass through.
Hebrew and other non-ASCII text may appear as percent-encoded bytes in a URL. That is a representation of text, not encryption. A decoded value may still contain private information. Preserve the original when diagnosing a failure so that you can explain exactly what changed.
What inspection cannot establish
- The parser accepts the address: this does not establish that the site is safe, reachable, authentic, or controlled by the organization you expect.
- There are repeated parameters: the receiving service decides whether duplicates are valid and which value it uses. Do not remove them automatically.
- The input is rejected: check for missing scheme, malformed percent escapes in a decode operation, or an incomplete copied value. Do not invent a replacement hostname.
- The URL contains access tokens: treat the whole string as sensitive. Do not put it in public screenshots, shared reports, or another website merely to inspect it.
The companion tool performs its parsing and transformations in the browser without navigating to the supplied destination or sending input to a processing service. That does not protect information later copied into another application, saved to clipboard history, or read by a browser extension.
