URL encoder & parser. Every link, taken apart.
Percent-encode or decode any string, or break a URL into protocol, host, path, query and fragment and edit its parameters with a rebuilt link that updates live — all on your device, nothing uploaded.
A free online tool by Digital HeroesNothing leaves your browser — every conversion runs on your device.
Parsed locally with your browser's URL engine. Nothing is requested or uploaded.
Components
Query parameters
No query parameters. Add one to build a query string.
Edit a key or value above and the URL rebuilds automatically, correctly re-encoded.
encodeURIComponent or encodeURI — pick the right one
encodeURIComponent (the default) is for a single value going into a URL slot — a query-parameter value, a path segment, a fragment. It escapes / : ? & = # so a value containing those characters can't break URL parsing. Tick Whole-URL mode to switch to encodeURI, which keeps those structural characters intact — use it on a complete URL that already has correct structure but needs spaces or unicode escaped. Space always encodes as %20 (the RFC 3986 form), never +. Nothing you paste is uploaded; it works offline and is free forever.
Everything a URL tool should do.
- Percent-encode any string with
encodeURIComponent— safe for query-parameter values and path segments that contain slashes, ampersands or spaces. - Encode a whole URL with the Whole-URL toggle (
encodeURI) to escape spaces and unicode while keeping the URL structure parseable. - Decode percent-encoded text back to plain text in one click, with “Use result as input” to peel off layered, double-encoded URLs pass by pass.
- Break any URL into its parts — protocol, username, password, hostname, port, path, query, fragment and origin — in a clean component table.
- Edit query parameters live as key/value rows: change a value, add a key or remove a row and the rebuilt URL updates instantly.
- Copy the rebuilt URL — correctly re-encoded and ready to paste into code, a doc or a browser address bar. Nothing is uploaded.
Four steps, no manual.
- Pick a mode: Encode / Decode to convert text, or URL Parser to take a link apart.
- To encode, choose Encode or Decode, tick Whole-URL mode if you're working on a complete URL, then type or paste into the left box — the result appears live on the right.
- To parse, paste a URL (or hit Load sample). Read the Components table and edit the query parameters — add, change or remove rows.
- Hit Copy or Copy URL to grab the correctly re-encoded result.
Frequently asked questions.
What's the difference between encodeURIComponent and encodeURI?
Why does space sometimes encode as %20 and other times as +?
How does the URL Parser edit query parameters?
Which characters get escaped?
Does it handle internationalized domain names (IDN)?
Is the URL I paste sent anywhere?
Published · Last updated .