URL Encoder & Query Parser
Encoding & CryptoBase64, MD5/SHA/HMAC hashes, JWT decoder, URL query parser, and HTML entities — 100% client-side.
100% client-side — files and inputs never leave your browser.
- Protocol / Host
- https://example.com
- Path
- /search
About this tool and how it works
URL encoding and query strings
URLs can only contain a limited set of ASCII characters. Everything else — spaces, accents, &, ?, #, / inside a value — must be percent-encoded as %XX bytes. This tool encodes and decodes text, splits a full URL into protocol, host, path, and hash, and turns the query string into editable JSON (and back).
encodeURI vs encodeURIComponent
- Component encoding escapes reserved characters like
/ ? & = #. Use it for a single parameter value, e.g. a redirect URL passed as?next=. - Full-URL encoding leaves those separators alone so the URL keeps working. Use it when you have a whole address containing spaces or accents.
Encoding a value with the wrong function is the classic bug: a value containing & silently splits into two parameters.
Editing query parameters as JSON
Paste https://example.com/search?q=caf%C3%A9&page=2&tag=a&tag=b and the parser shows {"q": "café", "page": "2", "tag": ["a", "b"]}. Edit the JSON — change the page, remove tracking parameters like utm_source — and rebuild a correctly encoded URL in one click. Repeated keys become arrays so nothing is lost.
The plus-sign trap
In HTML form submissions (application/x-www-form-urlencoded) a + means a space, but in a URL path it is a literal plus. If a decoded value has stray spaces where plus signs should be, the sender used form encoding; encode literal plus signs as %2B.
Frequently asked questions
Why is my parameter value cut off at an ampersand?
The value was not component-encoded, so & started a new parameter. Encode the value (& becomes %26) before appending it to the URL.
How do I decode a URL that was encoded twice?
Double encoding shows up as %2520 instead of %20. Run decode twice until the output stops changing, then fix the code that encodes the value a second time.
Does the parser keep repeated query keys?
Yes. Keys that appear more than once, like tag=a&tag=b, are shown as JSON arrays and written back as repeated keys when you rebuild the URL.
Other tools
Encode and decode UTF-8 text, URL-safe Base64, and image Data URIs.
Generate MD5, SHA-1, SHA-256, SHA-384, SHA-512, HMAC, and file checksums.
Inspect JWT headers, payloads, claims, and expiration timestamps locally.
Escape and unescape named, decimal, and hex HTML entities.
Create direct wa.me links with pre-filled messages and downloadable PNG QR codes.
Merge, split, compress, rotate pages, and convert between PDF and images 100% locally.
Shrink and convert JPG, PNG, and WebP images locally in your browser without uploading.
Inspect hidden GPS coordinates, author, company, revisions, and XMP metadata locally in your browser.
Convert length, weight, temperature, volume, area, speed, data size, and time instantly.