Skip to content
QuicklyTools

URL Encoder

Percent-encode text for URLs and query strings: component, full-URL or form (+ for spaces) modes.

Runs in your browser
Loading tool…

About the URL Encoder

Special characters such as spaces, &, ?, # and non-ASCII letters must be percent-encoded inside URLs. Choose component encoding for individual query values, full-URL encoding to keep the URL structure intact, or form encoding used by HTML forms.

How to use it

  1. Choose the encoding mode.
  2. Paste the text or URL.
  3. Copy the encoded output.

Good to know

  • Encoding an already-encoded string again double-encodes it (% becomes %25).

Frequently asked questions

encodeURI vs encodeURIComponent?

encodeURI keeps characters like / ? & = that structure a URL; encodeURIComponent encodes them, which is right for a single parameter value.

How are spaces encoded?

As %20, or as + in form mode.

More developer tools →