How URL percent encoding works
URLs use characters such as ?, &, =, / and # as structure. Percent encoding rewrites characters that should be treated as data, such as spaces, punctuation or Unicode text, into byte-based escape sequences like %20.
This page encodes with encodeURIComponent, which is best for query parameter values, path segments and text that will be inserted into a larger URL. Decode mode uses decodeURIComponent and first converts + to spaces, which helps with common form-encoded query strings.
URL encoding is not encryption. It makes characters safe for URL transport, but anyone can decode the text, and private links or tokens remain exposed if you paste or share them.