URL Encode & and =

Encode & as %26 and = as %3D so they can appear inside a single query value without breaking the string.

Part of the free URL Encoder. Runs in your browser — nothing is uploaded.

URL Encode & and =

& separates parameters and = separates names from values. If your data contains those characters, encode them or the parser will invent extra parameters.

Worked example: A boolean expression as a value

Text

a=1&b=2

Encoded

a%3D1%26b%3D2

Practical tip

After encoding, the query looks like expr=a%3D1%26b%3D2. The server decodes it back to a=1&b=2.

How to use this URL Encoder

  1. 1Use the live tool above — it runs entirely in your browser and never uploads your data.
  2. 2Paste the sample from the worked example, or use your own input.
  3. 3Copy the result, then adapt the same steps in your editor, script, or pipeline.

URL Encode & and = FAQs

What is %3D?

%3D is a percent-encoded equals sign.

Do I encode & in a redirect URL?

If the redirect URL is itself a query value, encode the whole URL with encodeURIComponent.