Percent-encode text for safe use in a URL, or decode percent-encoded text back to plain text.
URLs can only safely contain a limited set of characters. Spaces, ampersands, question marks, and other reserved or non-ASCII characters have to be replaced with a percent sign followed by their hex byte value (like %20 for a space) so they don't get misread as part of the URL's structure.
This tool encodes a single value (like a query parameter) the way encodeURIComponent does — it escapes characters such as &, ?, and / that have special meaning in a URL. Encoding an entire URL at once uses a slightly different rule set that leaves those structural characters alone.
Building query strings by hand, debugging a URL that looks garbled, or passing text with spaces or special characters (like search terms) as part of a link.
In query strings (the part after "?"), a "+" traditionally represents a space, a convention from HTML form submission. This decoder treats a literal "+" the same way; use %20 if you specifically mean a plus sign.
Pick another tool to jump straight to it.