Analyser a URL into components and construct URLs from parts
Decompose un URL en protocol, host, path, requête, fragment — et construire un URL de individual composants safely.
- 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 Analyseur d'URL →
Paste a URL. The tool decomposes it into protocol, host, port, pathname, search params, and hash, each editable for reconstruction.
- 3 Encodeur d'URL →
When constructing a URL with query parameters that contain special characters, encode each parameter value here before assembling.
- 4 Décodeur d'URL →
To inspect an encoded URL, decode it here — useful for understanding redirect URLs that are themselves URL-encoded as a parameter.
Questions fréquentes
- 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 résolvant cette tâche
Coder une charge utile JSON pour transport URL
Préparer un Document JSON pour un Paramètre URL: embellir, Coder en Base64, puis encodage pourcent — le inverse exacte de le chaîne de décodage de paramètres imbriqués. PIPELINE
Décoder Punycode et analyser URL
Décoder un domaine Punycode puis analyser l'URL complète. PIPELINE
Kebab Case et encodage URL
Convertir en kebab-case puis coder en URL pour des slugs sûrs. PIPELINE
Decoder URL et afficher les bytes Hex
Percent-decoder une chaine codee URL puis voir sa representation en bytes Hex pour analyse de bas niveau. PIPELINE
Decoder URL et analyser
Decoder URL puis analyser l'URL en composants. PIPELINE
Decodage URL double
Decoder une chaine codee URL qui a ete codee deux fois, recuperant le texte clair original. PIPELINE
Coder URL puis double Base64
Coder URL puis coder en Base64 pour un double encodage dans les charges utiles API. PIPELINE
Coder une charge utile texte pour transport URL
Percent-coder le texte puis afficher sa representation Hex pour un transport sur par parametre URL. PIPELINE
Decoder un parametre URL imbrique (Base64 JSON)
Derouler un parametre URL transportant du JSON Base64 code URL en JSON formate lisible. PIPELINE
Outils associés
Analyseur d'URL
Parse a URL into its components: protocol, host, path, query, hash, port, username, and password. Gratuit, privé et 100% côté client. OUTIL
Encodeur d'URL
Percent-encode text for safe use in URLs. Gratuit, privé et 100% côté client. OUTIL
Décodeur d'URL
Decode percent-encoded URL text back to readable characters. Gratuit, privé et 100% côté client. OUTIL