URL Encode
FreeEncode special characters in URLs (percent encoding)
https%3A%2F%2Fx.com%2F%3Fa%3Db%20c%26d%3De
About URL Encode
Putting arbitrary text into a URL is risky: spaces, ampersands, slashes, and other characters have special meaning or are simply not allowed, and an unescaped value can break a query string or get misread. This tool percent-encodes your text so it travels safely inside a URL parameter or path segment. Paste the value and get back a safe, escaped string.
The converter replaces reserved and unsafe characters with their percent-encoded equivalents, following the standard URL encoding rules. It is free, runs in your browser, needs no signup, and returns the result instantly. Use it on individual parameter values rather than a whole assembled URL, since encoding an entire URL would also escape the separators you want to keep.
Common uses
- Encoding a search term or value before adding it to a query string
- Safely passing text with spaces or symbols in a URL parameter
- Building a redirect URL that carries another URL as a parameter
- Escaping user input before constructing an API request URL
- Fixing a link that breaks because of unescaped special characters
How to use
- 1
Configure options
Set your preferences using the options panel below.
- 2
Click Generate
Click the process button to generate your result instantly.
- 3
Copy or download
Copy the result to clipboard or download it directly to your device.
Why ToolHub?
- Accurate conversion
- Multiple formats
- Instant results
FAQ
Should I encode the whole URL or just a value?
Encode individual parameter values. Encoding a full URL would also escape slashes, the question mark, and ampersands you need intact.
How are spaces encoded?
Spaces become %20 in standard percent encoding. In query strings some systems also accept a plus sign for spaces.
Are letters and numbers changed?
No. Unreserved characters like letters, digits, and a few symbols pass through unchanged; only reserved and unsafe ones are escaped.
Does it handle Unicode?
Yes. Non-ASCII characters are encoded as their percent-escaped byte sequences so they survive transport in a URL.
Can I use URL Encode on mobile?
Yes — ToolHub is fully responsive and works on iPhone, Android, tablets and all modern browsers. No app install needed.