URL Encoder
URL-encode strings and query parameters online. Convert special characters to percent-encoded format for safe use in URLs and HTTP requests.
URL-Encoded Output
What is URL Encoding?
URL encoding (also called percent-encoding) converts characters that are not allowed in a URL into a format that can be safely transmitted. Each unsafe character is replaced by a % followed by its two-digit hexadecimal ASCII value.
How to use this tool
- Enter the URL component or string you want to encode
- Click Encode to apply percent-encoding
- Copy the encoded output for use in your URL or API request
Common use cases
- Encoding query parameter values before appending to a URL
- Encoding form data for
application/x-www-form-urlencodedsubmissions - Making API requests with special characters in path segments
- Constructing redirect URLs containing other URLs as parameters
- Encoding search terms for use in URLs
Example
Input: hello world & more=data
Output: hello%20world%20%26%20more%3Ddata
Characters encoded
Spaces, &, =, +, ?, #, /, :, @, and other reserved or special characters are encoded.
Privacy
All processing happens in your browser. Nothing is transmitted.