FILEKILN

URL Encoder / Decoder

Percent-encode text for URLs or decode %-sequences back to text, in your browser. Component mode encodes everything; full-URL mode preserves separators.

url ⇄ text
Local execution · no network egress

Private by construction. The conversion happens in this page's JavaScript. Nothing you paste here leaves your machine, and the tool keeps working with the network unplugged.

Two modes, because there are two jobs. Component mode encodes every reserved character, which is what you want for a single query-string value. Unchecking it switches to whole-URL mode, which leaves structural characters like /, ? and & intact so a full URL stays a URL. Decoding also converts + to spaces, matching how HTML forms encode them.

Questions this tool gets asked

When do I need component mode?

When encoding one value that goes inside a URL, like a search term for a query parameter. Whole-URL mode is for encoding an already-structured URL without breaking it.

Why does + decode to a space?

HTML form submissions historically encode spaces as +. This decoder treats + as a space, which matches what servers receiving form data expect.

What standard does this follow?

The encodeURIComponent and encodeURI functions implement RFC 3986 percent-encoding, the standard all modern browsers and servers use.