linkWeb

URL Encoder & Decoder

Encode or decode a URL — either the whole thing or just a component — and inspect how a URL is actually put together. The parser splits out the protocol, host, path and every query parameter so you can see what is really being sent.

URIPercent-encodingQuery
info
Component uses encodeURIComponent and escapes / ? : @ & = + $ # — use it for a single query value. Whole URL uses encodeURI and leaves those separators intact — use it when you are encoding a complete address.

input Input

output Result

What this tool does

  • check_smallComponent encoding (encodeURIComponent) and full-URL encoding (encodeURI)
  • check_smallDecoding that tells you when the input is malformed rather than throwing
  • check_smallQuery-string parser showing each parameter decoded
  • check_smallBreakdown of protocol, host, port, path, query and fragment

Privacy

This tool runs entirely in your browser using client-side JavaScript. Whatever you paste stays on your machine — there is no back end, no upload and no analytics on your input.

Next tool

arrow_back All tools