URL Parser & Query String Builder
Split a URL into protocol/host/path/query/hash. Edit each query param and rebuild a clean URL — uses URL & URLSearchParams APIs.
URL parts
| Protocol | |
| User:Pass | |
| Host | |
| Port | |
| Path | |
| Hash |
Query parameters
Rebuilt URL
Uses standard URL & URLSearchParams — splits into protocol, host, path, query, hash; edit each param and rebuild a clean URL.
When you need to parse a URL
- Debug UTM tracking: ?utm_source=newsletter&utm_campaign=launch — verify each parameter.
- Build API URLs: add/remove query params dynamically — no manual string concat.
- Analyse affiliate links: Shopee/Lazada/Amazon links carry many tracking params — see what each one does.
- OAuth callbacks: redirect_uri has hash params — split to extract the token.
- SEO audits: detect URLs with redundant tracking params, suggest a canonical.
Standard URL structure
https://user:pass@example.com:8080/path/to/page?key=value&q=hello#section
└─┬─┘ └────┬────┘ └────┬────┘ └─┬┘ └──────┬──────┘ └──────┬───────┘ └───┬──┘
protocol auth host port path query hash Query string encoding tips
- Space: encoded as
%20or+(equivalent in query strings). - Non-ASCII characters: must be UTF-8 percent-encoded. E.g.
café→caf%C3%A9. - Special characters:
&,=,?,#inside values must be encoded so they aren't mistaken for separators. - The tool uses
URLSearchParams.toString()— encoding is automatic and standards-compliant.
Who this is for
Backend devs, API integrators, anyone debugging JSON/YAML/CSV payloads or working with structured data.
FAQ
Is my sensitive data safe?
Yes. JSON/YAML/CSV you paste is NOT uploaded to any server. All processing happens locally in your browser.
Is there a size limit?
Browser RAM dependent. Files under 10MB run smoothly. Larger files may freeze the tab.
Related tools
See all tools →JWT Decoder
Decode JWT tokens — header, payload, claims with readable timestamps.
NEWJSON Formatter
Format / minify / validate JSON. Sort keys A-Z, custom indent, Ctrl+Enter shortcut.
NEWUUID / Hash / Base64 / URL
Bundle: UUID v4, SHA-256/512 hash, Base64 (URL-safe), URL encode.
NEWJSONPath Tester
Test JSONPath queries against JSON samples. Pick data from API responses, debug structured output. Recursive descent + filters.