URL encoding (percent-encoding) and HTML entity encoding are two different systems that are often confused. URL encoding replaces unsafe characters with a % followed by two hex digits — used inside URLs and query strings. HTML encoding uses named or numeric entities like & — used inside HTML markup.
A common mistake is double-encoding: running URL encoding on a string that's already encoded, turning %20 into %2520. Use this tool to decode first, verify the plain text, then re-encode if needed.
When building query strings in code, always encode individual parameter values — not the full URL. Encoding the entire URL will break the ://, / path separators, and ?& delimiters. In JavaScript, use encodeURIComponent() for values and encodeURI() for full URLs.