URL Encode

Encode URL components.

Loading tool…

Recommended next step

Related developer tools

After using URL Encode, continue with URL Decode.

Open next

Tools selected to complete the same task.

4 steps

Tool guide

URL Encode: how it works

Practical information to understand the result and use this tool correctly.

About URL Encode

URL encoding (percent-encoding) replaces reserved characters with %HH sequences so query parameters and path segments travel safely.

Spaces often become %20 (or + in some form encodings). Always encode user input before placing it in a URL.

Encoding is local and reversible with a URL decoder—it is not encryption.

How to use it

  1. 1Paste the text or parameter value.
  2. 2Encode and copy the result.
  3. 3Insert it into your query string or path.

Frequently asked questions

When should I encode?
Any time user-controlled or special characters go into a URL—spaces, &, =, non-ASCII, etc.
%20 vs + for spaces?
In the query component, application/x-www-form-urlencoded often uses +. Path segments typically use %20.