🇩🇪 Deutsch
← Back to Overview

URL Tool

What is URL Encoding (Percent-Encoding)?

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.

Important URL Encodings

Common Characters:
Space → %20 (or + in query strings)
& → %26 | = → %3D | ? → %3F | / → %2F
# → %23 | @ → %40 | € → %E2%82%AC
ä → %C3%A4 | ö → %C3%B6 | ü → %C3%BC

Example: "Café Paris" → "Caf%C3%A9%20Paris"

Why URL Encoding?

Frequently Asked Questions (FAQ)

Should I use encodeURI or encodeURIComponent?

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().

Why is space sometimes shown as + and sometimes as %20?

%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.

Do I need to encode already-encoded URLs again?

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.

How do I encode a complete query string with multiple parameters?

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!

Was sagt der BMI aus?

Der Body Mass Index ist eine Orientierungshilfe. Er setzt dein Gewicht ins Verhltnis zu deiner Krpergre.