أداة: URL parser
ما الذي يقدمه هذا القسم
Enter a full URL and see how it decomposes into scheme (http, https, custom deep link), host, path, query, and typically fragment when present. That mental model matters when OAuth libraries disagree about where the state parameter lives, when CDNs rewrite hosts, or when mobile apps register custom schemes alongside universal links.
متى تستخدمها
Use it while comparing staging versus production redirect targets, when debugging why analytics drops query params, or when teaching juniors the difference between path segments and query pairs. Chain with أداة: URL redirect checker for hop behavior, أداة: URL encoder when composing encoded params, and أداة: Safe URL checker before visiting unfamiliar destinations surfaced from logs.
مثال عملي
A payment return URL fails validation. Parsed output shows the gateway appended extra query keys after your fragment—your router never saw them. You move critical params ahead of # or switch to server-side return POST.
أسئلة شائعة
Are parsed pieces ready for encoding?
Components may still need percent-encoding when recombined—especially non-ASCII paths and reserved characters in query values.
IPv6 literals?
Hosts like [2001:db8::1] use bracket notation; parsers should preserve them for downstream HTTP clients.
localhost versus 127.0.0.1?
They compare differently in cookies and CORS. Parsing clarifies which literal your bug uses.