URL Encoder / Decoder
Encode and decode URLs and URI components. Parse URLs into their individual parts.
Encode and decode URLs and URI components. Parse URLs into their individual parts.
URL encoding (also called percent-encoding) is a mechanism for encoding special characters in URLs. Since URLs can only contain a limited set of ASCII characters, any characters outside this set — including spaces, non-ASCII characters, and reserved characters like &, =, and ? — must be encoded using a percent sign (%) followed by two hexadecimal digits. For example, a space becomes %20.
This tool encodes and decodes URLs and URL components, and also parses URLs into their constituent parts (protocol, host, path, query parameters, etc.).
URL encoding (percent-encoding) replaces special characters in a URL with a percent sign followed by their hexadecimal value. For example, a space becomes %20. This ensures URLs are transmitted correctly over the internet.
encodeURI encodes a full URL but preserves characters like :, /, ?, and # that have special meaning in URLs. encodeURIComponent encodes everything except letters, digits, and a few special characters, making it suitable for encoding query parameter values.
Paste your encoded URL into the input field and select "Decode". The tool will convert all percent-encoded characters back to their original form and also parse the URL into its component parts (protocol, host, path, query parameters, etc.).