Percent-encode special characters for safe use in URLs. Ensures query parameters, paths, and fragments are transmitted correctly.
Example
hello world → hello%20world
a=1&b=2 → a%3D1%26b%3D2
price: $5 → price%3A%20%245
Percent-encode special characters for safe use in URLs. Ensures query parameters, paths, and fragments are transmitted correctly.
hello world → hello%20world
a=1&b=2 → a%3D1%26b%3D2
price: $5 → price%3A%20%245