URL Encoder
Percent-encode text for safe use in a URL.
Result
Frequently asked questions
Should I encode a whole URL or just part of it?
Encode individual values you're putting into a query string, like a search term or a parameter, not a full URL. Encoding an entire URL would also escape the slashes and colons that need to stay intact.
Does it encode spaces as + or %20?
Spaces come out as %20, which is the standard percent-encoding. That's correct for most of a URL, though query strings traditionally also accept + for spaces.
Is my text sent anywhere to be encoded?
No, this runs entirely in your browser using the built-in encodeURIComponent function. Nothing is sent to a server.