Percent-encode text for a specific URI component without changing its delimiters.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Characters outside the component’s allowed set become percent signs and two uppercase hex byte digits; unreserved ASCII remains literal. Non-ASCII text is encoded from UTF-8 bytes.
hello world & goodbye=cruel+world
hello%20world%20%26%20goodbye%3Dcruel%2Bworld
Query parameters, redirects, and API path segments encode URLs.