URL Parser
URL Builder
Query Parameters
BUILT URL
encodeURI vs encodeURIComponent
Also searched as: url encoder decoder online free | url encoding tool | percent encode url | decode url online
encodeURI encodes a full URL — it leaves characters like :, /, ?, &, =, and # unencoded because they're valid URL structure characters. encodeURIComponent is more aggressive — it encodes everything except letters, digits, and - _ . ! ~ * ' ( ). Use encodeURIComponent for encoding individual query parameter values. Use encodeURI for encoding a complete URL.
Use the URL Encoder Decoder above — enter your values and get instant results. This free online tool calculates how to url encode a string without any download or signup required. Results update in real time as you type.
Use the URL Encoder Decoder above — enter your values and get instant results. This free online tool calculates url decoder free online without any download or signup required. Results update in real time as you type.
Both %20 and + represent a space in URLs, but in different contexts. %20 is the percent-encoded form of space (ASCII 32) and is valid everywhere in URLs. The + sign as a space is only valid in query strings (application/x-www-form-urlencoded format), originating from HTML form encoding. In modern code, use %20 — it's unambiguous. + as space is a legacy convention from early web forms.