Skip to content

URL Encoder

Percent-encode text so it is safe inside a URL.

Private by design. This tool runs entirely in your browser. Your input is processed on your own device and is not uploaded by DO101.

About the URL Encoder

Turn spaces, ampersands, accents and emoji into percent-encoded escapes so a URL or query string survives being passed around. Choose between component encoding and full-URI encoding.

How to use it

  1. 1Paste the text or URL.
  2. 2Pick component or full-URI encoding.
  3. 3Copy the encoded string.

What you get

  • encodeURIComponent and encodeURI modes
  • Handles Unicode and emoji
  • Query-string builder view
  • One-tap copy
  • No upload

Frequently asked questions

What is the difference between the two modes?

Component mode escapes everything including &, = and /, which is right for a single value. Full-URI mode leaves the characters that give a URL its structure intact.

Why does a space become %20 sometimes and + at others?

%20 is correct everywhere. The + form only applies inside application/x-www-form-urlencoded form bodies.

People who use this tool usually reach for these next.