URL Parser
Paste any URL and instantly see its protocol, host, port, path segments, query parameters, and fragment — with values URL-decoded and ready to copy.
ملخص الأداة
تستقبل هذه الأداة مدخلات منظمة وتُرجع مخرجات حتمية في المتصفح، دون رفع إلى الخادم.
- اسم الأداة
- URL Parser
- غرض المدخلات
- قدّم المحتوى المصدري لتحويله أو التحقق منه أو تحليله.
- غرض المخرجات
- احصل على مخرجات موحدة جاهزة للنسخ أو إعادة الاستخدام أو التصحيح.
- مدخل مثال
- https://example.com:8443/blog/post-1?utm_source=email&ref=newsletter#share
- مخرج مثال
- protocol: https host: example.com:8443 path: /blog/post-1 query: utm_source=email, ref=newsletter hash: #share
URL components
- Protocol
- https
- Origin
- https://shop.example.com:8443
- Hostname
- shop.example.com
- Port
- 8443
- Path
- /products/widget
- Hash
- #reviews
Path segments (2)
- 1products
- 2widget
Query parameters (3)
| Key | Value | Actions |
|---|---|---|
| utm_source | ||
| utm_campaign | spring sale | |
| ref | newsletter |
JSON view
مقدمة الأداة
Paste any URL and instantly see its protocol, host, port, path segments, query parameters, and fragment — with values URL-decoded and ready to copy.
نظرة عامة على الأداة
Most URLs hide a lot of structure: subdomains, ports, encoded path segments, repeated query keys, and a fragment that may itself contain key/value pairs. This tool runs your input through the standard WHATWG URL parser, then expands every part into a labelled, copyable view. Query parameters are listed in the order they appear, with their values URL-decoded. Path segments are split on / and decoded too. A read-only JSON view makes it easy to drop the parsed result into a script or test fixture.
حالات الاستخدام
- Debug redirects and tracking URLs by inspecting every UTM and query parameter.
- Extract a deep link’s path segments to validate a route in your app.
- Convert a stringy URL into a structured object for a test fixture.
أمثلة المدخلات/المخرجات
https://example.com:8443/blog/post-1?utm_source=email&ref=newsletter#share
protocol: https host: example.com:8443 path: /blog/post-1 query: utm_source=email, ref=newsletter hash: #share
الأسئلة الشائعة
What if my URL is missing the scheme?+
Are query values URL-decoded?+
Does it support internationalized domains (IDN)?+
استكشف أدوات أخرى
اكتشف أدوات ذات صلة في الفئة المطورون أدناه.
أدوات ذات صلة
أدوات منتقاة قد تجدها مفيدة