URL Encoder

URL encode text and parameters online for free to safely pass data via HTTP and web links.

Safely encode special characters in your text into percent-encoded format so they can be reliably passed as URL query parameters or URI segments.

How to Use URL Encode

  1. Paste your raw text or URI parameter into the input area.
  2. The tool instantly converts spaces and special characters into percent-encoded format.
  3. Copy the safe URL string.

What Is URL Encode?

URL Encoding (Percent-encoding) converts reserved or unsafe characters into a universally accepted format (a percent sign followed by two hexadecimal digits). This ensures that data passed in URL query parameters or paths does not accidentally break the HTTP request.

URL Encode Example

Input
hello world & good morning
Output
hello%20world%20%26%20good%20morning

Frequently Asked Questions

Why do spaces become %20?

Spaces are not allowed in raw URLs. The URL encoding standard replaces them with their hexadecimal ASCII equivalent, which is %20.

Related Encoding Tools