Encode and decode URLs with encodeURIComponent, encodeURI, or custom preserve rules. Parse query parameters, bulk-process lines, and copy decoded values — all in your browser.
Also searched as: url encoder decoder · url encode online · urlencode decode · url percent encoding · encodeURIComponent online
Step-by-step guide to get the most from this tool
Select Encode or Decode.
Use encodeURIComponent, encodeURI, or custom preserve rules in encode mode.
Paste a URL, query value, or encoded string — output updates live.
Full URLs show parsed query params with decoded values.
What makes this tool stand out
Native encoding modes with clear explanations.
Choose which characters stay unencoded.
Decoded values per key with copy buttons.
Encode or decode one value per line.
Move output to input and flip mode.
Pure client-side — no server.
More free utilities you might find useful
Quick answers to common questions
URL encoding (percent encoding) replaces characters that are not allowed in URLs with % followed by two hexadecimal digits. For example, a space becomes %20.
Use encodeURIComponent for a single query value or path segment — it encodes /, ?, &, and =. Use encodeURI for an entire URL where those delimiters must stay intact.
Custom mode runs encodeURIComponent, then restores each character you list in the preserve field so only those symbols remain unencoded.
HTML forms often encode spaces as + instead of %20. Enable "Encode spaces as +" to match that behavior; decoding converts + back to spaces when enabled.
When your input is a full http(s) URL, the tool parses protocol, host, path, query parameters, and fragment. Each query value is shown encoded and decoded with a copy button.
Yes. All encoding and parsing runs locally in your browser with no network requests.
Your data is processed entirely in your browser. Nothing is sent to any server.