Loading…
Data & encoding
Percent-encode or decode URLs and query values, and take a full URL apart.
Runs in your browser — nothing you paste is uploaded
Query value escapes every reserved character (& = ? / #), like encodeURIComponent.
https://example.com/search?q=dragon fire&guide=Ryujin 🐉#results
Use encodeURIComponent (Query value) for a single value such as a query parameter: it escapes & = ? / and #. Use encodeURI (Whole URL) for a complete URL, which keeps those characters so the URL still works.
%20 is the percent-encoding of a space. HTML forms use + for spaces in query strings instead; turn on “Treat + as a space” to decode those.
Protocol (https:), host, optional port, path, query string (?key=value pairs) and fragment (#section). Paste a full URL and the tool lists each part and every query parameter.