URL Encoder / Decoder
Encode text for use in URLs or decode %-escaped strings. Full UTF-8 support including Bengali, Devanagari and emoji. Nothing leaves your browser.
https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dweb%20design%20%26%20development%20in%20KolkataURL encoding is one of those jobs you never have to think about until suddenly you do. A tracking link has a space in it that broke a UTM parameter. A webhook payload contains a string with an ampersand in it that is being interpreted as a new parameter. A customer pasted a URL from Hindi Wikipedia into a form and the server choked on the Devanagari. The fix is always the same — encode the value before it goes into the URL, decode it after it comes out — but doing it by hand without a reliable tool is tedious.
This encoder uses encodeURIComponent, which is what you want for encoding values placed inside a URL. The decoder is the inverse. Both handle the full Unicode range correctly, so Bengali, Devanagari, Chinese and emoji all round-trip without data loss. Press Swap to flip the direction and continue a chain of transformations.
Frequently asked questions
Any time you put untrusted text into a URL: a query string parameter, a hash, a path segment with spaces or punctuation. Without encoding, characters like &, =, ?, space and # change the meaning of the URL and break the request. Modern frameworks do this for you automatically; you need the tool when debugging a raw request, crafting a tracking URL by hand, or passing something into a webhook.
encodeURI leaves URL structural characters (: / ? # [ ] @ etc.) alone — it is for encoding a whole URL that is already well-formed. encodeURIComponent escapes everything that is not a letter, digit or one of -_.!~*'() — it is for encoding a single value you will place inside a URL. This tool uses encodeURIComponent, which is almost always the one you want.
Yes. Each character is encoded as its UTF-8 byte sequence in %XX form — so "কলকাতা" becomes %E0%A6%95%E0%A6%B2%E0%A6%95%E0%A6%BE%E0%A6%A4%E0%A6%BE, and "🚀" becomes %F0%9F%9A%80. Decoding reverses the process.
Because a % followed by anything other than two valid hex digits is not a legal percent-encoded sequence. Common causes: a stray % sign in a non-encoded URL, truncation that lost the hex digits, or something double-encoded (encoded twice, which turns % into %25).
No. encode/decode happen in your browser; the page makes no network requests after it loads. You can safely paste URLs containing session tokens or query parameters that should not leave your machine.
More free tools
Tell us what is slowing your business down.
A 30-minute call with a senior engineer — not a salesperson. You leave with an architecture sketch and an honest cost range, whether or not you hire us.
Direct line
+91 70033 91355Mon–Sat · 9:30 AM – 7:30 PM IST · Sealdah, Kolkata