← all tools

URL encode

Strict encoding for a value inside a query string, whole-URI encoding for an entire link. They are not the same thing.

encode androiddeeplinkencodinguri

Encoding shows both modes side by side, so you can see which characters they disagree on.

Encoded
  

There are two different jobs here and using the wrong one is the classic deep-link bug. Strict encoding (encodeURIComponent) escapes every character that could break out of a query parameter — including / ? & = — which is what you want for a value. Whole-URI encoding (encodeURI) leaves those characters alone because they are what makes a URI structural. This shows both at once so you can see exactly which characters differ.