Zum Inhalt springen
uencoder

Analysieren a URL into components and construct URLs from parts

Decompose ein URL in protocol, host, path, Abfrage, fragment — und bauen ein URL von individual Komponenten safely.

  1. 1

    URLs have a precise structure (RFC 3986): scheme, authority, host, port, path, query, fragment. Parsing decomposes a URL for inspection or modification; construction reassembles parts with proper encoding.

  2. 2
    URL-Parser →

    Paste a URL. The tool decomposes it into protocol, host, port, pathname, search params, and hash, each editable for reconstruction.

  3. 3
    URL-Kodierer →

    When constructing a URL with query parameters that contain special characters, encode each parameter value here before assembling.

  4. 4
    URL-Dekodierer →

    To inspect an encoded URL, decode it here — useful for understanding redirect URLs that are themselves URL-encoded as a parameter.

Häufige Fragen

What is the difference between search and searchParams?
search is the raw query string including the leading '?' (e.g. ?a=1&b=2). searchParams is a parsed URLSearchParams object that lets you get, set, and delete individual parameters without string manipulation.
How do I handle URLs with encoded slashes (%2F)?
Some servers decode %2F to / in the path (allowing encoded slashes), others treat it literally. The parser preserves %2F as-is. When constructing, encode slashes in path segments that should not be interpreted as path separators.

Workflows, die diese Aufgabe lösen

Verwandte Tools