URL Encoder
Percent-encode, decode & inspect URLs
Escapes everything, including / ? & = # — for a single value.
Examples
Encode a query value
Input
name=Ada Lovelace & role=admin?
Output
name%3DAda%20Lovelace%20%26%20role%3Dadmin%3F
Inspect a URL's parts
Input
https://shop.example.com/item?id=42&ref=home page
Output
host: shop.example.com · path: /item · id=42 · ref=home page
Frequently asked questions
What's the difference between Component and Full URL?
Component uses encodeURIComponent, which escapes every reserved character (including / ? & = #) — use it for a single value like one query parameter. Full URL uses encodeURI, which leaves URL syntax intact so a complete address stays usable.
Why does decoding sometimes fail?
Decoding throws when the input has a malformed percent-escape — a lone “%” or an incomplete %XX sequence. Fix or remove the stray character and it will decode.
What does Inspect show?
It parses an absolute URL with your browser's own URL engine and lists its protocol, origin, host, port, path, query and fragment, plus a table of every query parameter with its value already decoded.
Is my data uploaded anywhere?
No. Encoding, decoding and parsing all run entirely in your browser — nothing you type ever leaves your machine.