URL Encode
Encode text so it can be safely used inside URLs.
Input is processed in your browser and is not uploaded.
Output
Results appear here.Add input to see a result.
URL encoding converts spaces, symbols, and non-ASCII characters into percent-encoded text that can be used safely in query strings and URL parameters. Lightweight, mobile-friendly, and built for quick repeat use.
Make URL components safe without breaking the whole URL
URL encoding is about boundaries. Query values, path segments, redirect targets, and webhook parameters often contain spaces, symbols, or non-ASCII text that must be escaped before they travel through a URL. This tool uses component-style encoding so the value you paste can be safely placed inside a larger URL.
Query parameters
Encode search terms, filter values, redirect URLs, and campaign labels before adding them after a question mark.
Path segment safety
Prepare slugs or dynamic route values that may include spaces, Korean, Japanese, or punctuation.
Webhook debugging
Check whether a copied callback URL failed because an ampersand, hash, or equals sign was interpreted as URL structure.
Encode the right part
- 1Decide whether you are encoding a query value, a path segment, or an entire URL used as a parameter.
- 2Paste only that component into the encoder, not the full URL unless the full URL is itself the value.
- 3Add the encoded result back into the surrounding URL and test it once.
- 4Decode the final value when debugging to confirm it returns to the intended text.
Query value example
name=Textbun tools & locale=koname%3DTextbun%20tools%20%26%20locale%3DkoThe ampersand becomes %26 so it is not mistaken for a second query parameter.
Things that often go wrong
- Encoding a full URL with component encoding will escape :// and ? as well.
- Spaces may appear as %20 or + depending on the form encoding context.
- Double-encoding turns % into %25 and can make already encoded values unreadable.
FAQ
When should I URL encode text?+
Encode text when it will be placed inside a URL path, query parameter, redirect URL, or API request.
Does this encode spaces?+
Yes. Spaces are encoded as %20 using standard encodeURIComponent behavior.
Is my URL data stored?+
No. URL encoding runs locally in the browser.