URL Encoder
Percent-encode text so it is safe to use in a URL or query string.
Percent-encode text so it is safe to place inside a URL, a query-string parameter, or an API request. Characters that have special meaning in a URL — spaces, &, ?, =, #, and any non-ASCII letters — are converted into %-escapes (a space becomes %20) so they cannot break the link or be misread by a server. Encoding happens instantly in your browser as you type.
How to use the URL Encoder
- Type or paste the text or value you need to put in a URL.
- The percent-encoded version appears instantly.
- Copy it and drop it into your URL or query string.
Frequently asked questions
When do I need URL encoding?
Whenever text with spaces, &, ?, = or non-ASCII characters goes into a URL, encoding stops it from breaking the link.
Does it encode the whole URL or just a value?
It encodes everything you paste, which is what you want for a single query value. Do not paste a complete URL you want to keep working, or its slashes and colons get escaped too.
How is this different from Base64?
URL encoding keeps text mostly readable and only escapes special characters; Base64 rewrites everything into a different alphabet.