Skip to content

URL Encoder

Switch between Encode and Decode modes. In decode mode, URL query parameters are automatically parsed and displayed in a key-value table.

URL Encoder

Common questions

How do I know if a URL is already encoded?
An encoded URL contains percent-sequences: %20 for a space, %2F for a forward slash, and so on. If you see those, it is already (at least partially) encoded. Avoid encoding an already-encoded URL — you will get double-encoding like %2520 instead of %20.
What is the difference between encodeURI and encodeURIComponent?
encodeURI treats the whole URL — it preserves structural characters like :, /, ?, and &. encodeURIComponent treats a single value or parameter — it also encodes : and /, because it assumes you are encoding a fragment, not a complete URL. This tool uses encodeURIComponent semantics.
Why is a space %20 and not +?
This tool uses percent-encoding (encodeURIComponent), where a space becomes %20 — correct for path segments and URL components in general. The + notation comes from application/x-www-form-urlencoded, the format HTML forms and URLSearchParams use for query strings, where + legitimately stands for a space. In a URL path, + is just a literal plus sign. Decode mode here uses decodeURIComponent and leaves + unchanged, while the parsed query-parameter table follows form rules and shows + as a space.