Back to all tools

URL Encoder / Decoder

Encode and decode URLs and URI components. Parse URLs into their individual parts.

Frequently Asked Questions

What is URL encoding?

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.

What is the difference between encodeURI and encodeURIComponent?

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.

How do I decode a URL online?

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.).