URL encoding converts special characters into a URL-safe format. URLs can only contain certain ASCII characters – everything else (spaces, special characters, international letters) is converted to "%XX", where XX is the hexadecimal value of the character. Our tool encodes and decodes URLs for web development, API calls, and query parameters.
encodeURI() for complete URLs (leaves :, /, ?, & etc. intact). encodeURIComponent() for individual parameter values (encodes EVERYTHING except A-Z, a-z, 0-9, -, _, ., ~). For query parameters, usually encodeURIComponent().
%20 is the RFC 3986 standard for URLs. The + is a convention from application/x-www-form-urlencoded (HTML forms). In query strings, both are common; in paths, only %20.
Caution: Double-encoding is a common mistake! %20 becomes %2520. Check if your library/framework already encodes. When in doubt, decode first, then encode once.
Use URLSearchParams in JavaScript: new URLSearchParams({name: "John", city: "New York"}).toString() → "name=John&city=New%20York". This automatically encodes values correctly.
💡 Tip: Modern browsers display decoded URLs in the address bar. The actually-sent URL is encoded though. When copying from browser console, always verify correct encoding!
Der Body Mass Index ist eine Orientierungshilfe. Er setzt dein Gewicht ins Verhltnis zu deiner Krpergre.