URL Parser and Query String Editor
Paste any link to see every part decoded, edit or sort its parameters, strip tracking codes such as utm_source and fbclid, and copy a clean URL.
ทำงานในเบราว์เซอร์ของคุณ ไฟล์ไม่ออกจากอุปกรณ์ ดูวิธีตรวจสอบ
…
วิธีทำ
- 1Paste the URL
Any absolute link.
- 2Read the parts
Host, port, path, query and fragment.
- 3Review parameters
Tracking ones are marked.
- 4Clean or edit
Strip tracking, sort, remove empty.
- 5Choose encoding
Plus or %20 for spaces.
- 6Copy the clean URL
Ready to share.
เกี่ยวกับเครื่องมือนี้
URLs carry more than an address. A link from a newsletter or an advert typically includes campaign parameters such as utm_source and utm_campaign and click identifiers such as fbclid or gclid that let platforms follow you across sites. Developers need to inspect URLs too: what exactly is in that redirect, why a percent-encoded path does not match a route, which port a URL really uses, or how an international domain is written in ASCII. This tool parses a URL with the same algorithm browsers use, the WHATWG URL Standard, and shows each part decoded: scheme, username and password, host in ASCII and as typed, port with the scheme default, origin, path and its segments, query parameters as a table and the fragment. You can rewrite the parameters line by line, remove tracking parameters with one tick, remove empty ones, sort them, choose plus or %20 for spaces and drop the fragment, then copy the rebuilt URL. A small encoder and decoder handles encodeURIComponent, encodeURI and decodeURIComponent.
Tracking parameters removed
utm_source, utm_medium, utm_campaign, utm_term, utm_content and other utm_ fields, plus fbclid (Facebook), gclid, gbraid, wbraid and dclid (Google Ads), msclkid (Microsoft Ads), twclid (X), ttclid (TikTok), igshid (Instagram), li_fat_id (LinkedIn), yclid (Yandex), mc_cid and mc_eid (Mailchimp), _hsenc and _hsmi (HubSpot), mkt_tok (Marketo) and _ga and _gl (Google Analytics linker). Removing them rarely breaks a link, because they are read only by analytics.
Encoding rules
Characters outside a small safe set are percent-encoded as UTF-8 bytes, so é becomes %C3%A9. In query strings, HTML forms encode spaces as plus signs while other code uses %20; both are decoded the same way by most servers. encodeURIComponent escapes everything except letters, digits and a few marks and is right for single parameter values; encodeURI leaves reserved characters such as slashes and question marks alone and is for whole URLs.
International domains
Domain names with non-ASCII letters are sent in punycode, the ASCII form that starts with xn--. The parser shows both, which helps spot look-alike phishing domains that mix alphabets.
Debugging routes and redirects
When a route does not match, compare the raw and decoded path segments: a space may arrive as %20, a plus sign or a literal character depending on the client. For redirects, check that the target is an absolute URL on a domain you expect, because open redirects are a common phishing trick.
Limits
Only absolute URLs are parsed; a missing scheme is treated as https. The tool does not visit the URL, follow redirects or expand short links, and it cannot tell whether a parameter is needed by the destination page.
ตัวอย่างพร้อมวิธีทำ
The link https://www.example.com/shop/shoes?colour=red&size=9&utm_source=newsletter&utm_medium=email&utm_campaign=spring&fbclid=IwAR0abc#reviews is shown with six parameters, four marked as tracking, and with tracking removal ticked it becomes https://www.example.com/shop/shoes?colour=red&size=9#reviews.
สรุปสั้น ๆ
- หมวดหมู่: นักพัฒนาและข้อมูล
- ทำงานในเบราว์เซอร์ ไม่ต้องสมัคร ไม่ต้องอัปโหลด
- ข้อมูลที่คุณกรอกอยู่บนอุปกรณ์ของคุณ
- มีภาษาอังกฤษ
- ตรวจสอบเนื้อหาล่าสุด:
- แหล่งข้อมูลทางการ: WHATWG URL Living Standard
คำถามที่พบบ่อย
Is it safe to remove UTM parameters?
Almost always. They only feed analytics; the page works without them.
Why is my domain shown as xn--?
That is the punycode form of an international domain name.
What is the difference between plus and %20?
Both mean a space in query strings; plus is the HTML form convention.
Does it follow redirects?
No. It parses the text only and never visits the link.
Can I edit parameters?
Yes. Rewrite them as key=value lines and the URL is rebuilt.
Is my URL uploaded?
No. Parsing happens in your browser.
