URL Encode / Decode

Percent-encoding for safe URLs, query parameters, and form values.

Space →
Advertisement
When do I need URL encoding?

Whenever you put arbitrary text in a URL.

URLs are restricted to a subset of ASCII characters. Anything else — spaces, accented letters, query-string special characters like & or = — needs percent-encoding (a.k.a. URL encoding).

Example: hello world becomes hello%20world.

Read more on Wikipedia
Copied to clipboard