URL Encoder
Convert text into URL-safe percent encoding — spaces become %20, and special characters get escaped so links don't break.
What is URL Encoder?
URLs only allow a limited set of characters. Spaces, quotes, ampersands inside values, and non-ASCII letters must be 'percent-encoded' — replaced with a % followed by the character's byte value in hexadecimal. A space becomes %20, an ampersand %26, and 'ü' becomes %C3%BC.
This encoder applies that transformation instantly as you type, using the same encodeURIComponent logic browsers use internally, with proper UTF-8 handling for international text and emoji.
It matters most for query-string values: if a search term like 'fish & chips' goes into a URL unencoded, the '&' splits it into two parameters and the server sees 'fish '. Encoded as fish%20%26%20chips, it arrives intact.
Why encode URLs?
Anyone who builds links by hand needs this. Marketers assembling campaign URLs, developers testing API endpoints, and support teams crafting pre-filled form links all end up joining text into URLs — and unencoded values are the classic cause of links that work in testing and break in production.
It's also needed for mailto links and share buttons: pre-filled email subjects and tweet texts live in query parameters, so every space and punctuation mark has to be encoded for the link to carry them correctly.
The rule of thumb: encode each value before you insert it into the URL — not the whole finished URL, or you'll encode the legitimate separators like '?' and '&' as well.
How to Use URL Encoder
1. Type or paste the text you want to encode.
2. The percent-encoded result appears instantly.
3. Copy the encoded string into your URL, query parameter, or link.
4. Use the URL Decoder to reverse the process when reading encoded links.
Example
Input:
Hello World!
Output:
Hello%20World!
Keep going
Related tools
More utilities that pair well with this one.
FAQ
Questions, answered
Everything you need to know about the URL Encoder.
Yes — free and unlimited.
