URL Encoder
Percent-encode strings for safe use in URLs and query parameters. RFC 3986 compliant. Nothing uploaded.
Input
Output
Share Link
Settings
Related Tools
Frequently Asked Questions
What is URL encoding?
URL encoding (percent-encoding) replaces unsafe ASCII characters with a % followed by two hexadecimal digits. For example, a space becomes %20 and & becomes %26.
When do I need to URL encode?
You need to URL encode query parameter values, form data submitted via GET, and any part of a URL that may contain special characters like spaces, &, =, #, or non-ASCII characters.
About URL Encoder
URL encoding ensures that special characters in query strings and path segments are transmitted correctly. This tool uses encodeURIComponent() which encodes all characters except A–Z, a–z, 0–9, -, _, ., and ~.