Most used by developers

URL Encode

Percent-encode a string.

How to use URL Encode

URL Encode — Percent-encode text for a URL query component. Spaces become +. Free to use in D2i DevTools — no account required.

Steps

  1. Fill in Input. This field is required.
  2. Click Run and copy the result under the form.

Frequently asked questions

What is URL Encode used for?

Use it to place a search string or parameter value into a query without breaking on & = or spaces.

How do I use the free online URL Encode tool?

Fill in Input. This field is required. Click Run and copy the result under the form.

What can I paste or upload into URL Encode?

Paste the raw value, not a full URL. a b&c becomes a+b%26c.

What output does URL Encode give me?

An application/x-www-form-urlencoded string. Letters and digits stay as-is; other bytes are %HH or + for space.

Is URL Encode free, and is my input private?

Yes — Your input is processed in memory for this request only. It is not saved to disk or the database, and it is cleared after the tool finishes.

When should I use Path Escape instead?

Use URL Encode for query values (space as +). Use Path Escape for a single path segment, where space must be %20 and + stays a plus.

Inputs are processed in memory only and are not saved to disk or the database. Data exists only for the duration of your request.