Should I encode a full URL or a component?
Encode a component when the value is data inside another URL. Encode a full URL only when you want to preserve URL separators.
URL encoding is easy to get wrong because a full URL and a single query value follow different rules. This tool gives you both modes: component mode for values that will sit inside a path segment or query parameter, and full URL mode for preserving URL separators while encoding unsafe characters.
The query inspector shows decoded parameter names and values when the result contains a query string, which is useful when debugging OAuth redirects, analytics links, signed URLs, or copied API examples.
Loading tool...
Double-encoding is the classic bug: a percent sign becomes %25, then the already-encoded value no longer matches what the receiver expects. Another common issue is encoding a whole URL as a component when only the redirect URI value should be encoded. Keep an eye on whether reserved URL characters are supposed to remain structural or become data.
Encode a component when the value is data inside another URL. Encode a full URL only when you want to preserve URL separators.
HTML form encoding often represents spaces as plus signs in query strings. Percent encoding uses %20.
Yes. When the converted value contains query parameters, the table shows parameter names and decoded values.