DevTulz Online

تجزیه‌کننده URL

یک URL وارد کنید تا اجزای آن را ببینید:

تجزیه‌کننده URL


What is a URL Parser?

A URL (Uniform Resource Locator) has a well-defined structure with multiple components: protocol/scheme (https://), username and password (for authenticated URLs), hostname (example.com), port (:8080), path (/blog/article), query string (?id=123&page=2), and fragment (#section). Parsing a URL breaks it apart into these components, making it easy to inspect, modify, or debug. This is useful when debugging API requests, understanding redirect chains, inspecting tracking URLs, or when you need to programmatically extract parts of a URL.

How to Use the URL Parser

  1. Paste any URL into the input field.

  2. The tool parses and displays each component: protocol, host, port, path, query parameters, and fragment.

  3. Query parameters are shown both as a list of key-value pairs and as formatted JSON.

  4. Copy individual components as needed.

This URL parser runs entirely in your browser using the built-in URL API — no data is sent to any server. Handles all URL formats including URLs with authentication, non-standard ports, IPv6 addresses, and complex query strings. Useful for API debugging, security analysis, and URL construction.

سوالات متداول

آیا رمزگشایی داده‌های حساس در اینجا ایمن است؟ بله. تمام رمزگشایی در مرورگر شما با استفاده از JavaScript انجام می‌شود. هیچ داده‌ای به سرور منتقل نمی‌شود، بنابراین رشته‌های کدگذاری شده شما کاملاً خصوصی می‌مانند.

تفاوت بین Base64 و URL-safe Base64 چیست؟ Base64 استاندارد از کاراکترهای + و / استفاده می‌کند که کاراکترهای خاصی در URL هستند. URL-safe Base64 آن‌ها را با - و _ جایگزین می‌کند تا رشته بتواند در URL‌ها و نام‌های فایل بدون percent-encoding با ایمنی استفاده شود.

چرا خروجی رمزگشایی شده من مثل متن بی‌معنی به نظر می‌رسد؟ اگر داده اصلی دودویی بود (مثل تصویر، PDF، یا فایل فشرده)، خروجی رمزگشایی شده متن خوانایی نخواهد بود. در این صورت، رشته Base64 نمایانگر یک فایل دودویی است، نه رشته متنی.

آیا Base64 نوعی از رمزنگاری است؟ خیر. Base64 یک طرح کدگذاری است، نه رمزنگاری. هر کسی می‌تواند یک رشته Base64 را بدون کلید رمزگشایی کند. هرگز نباید برای حفاظت از داده‌های حساس استفاده شود — از رمزنگاری مناسب برای آن استفاده کنید.

Keywords: URL parser online, parse URL components, URL analyzer, URL breakdown, query string parser, free URL parser