Encode and decode URL components
URL encoding (also called percent-encoding) converts characters that are not allowed in URLs into a format that can be transmitted safely. Special characters like spaces, quotes, and non-ASCII characters are replaced with a percent sign followed by two hexadecimal digits.
Building query parameters for API requests. Encoding user input before appending to URLs. Handling special characters in form data submissions. Debugging encoded URL parameters in browser dev tools.
Select Encode mode and paste your text to get the URL-encoded version. Select Decode mode to convert an encoded URL back to readable text. Use the Swap button to quickly toggle between encode and decode modes.