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
- 1Paste the text or URL.
- 2Pick component or full-URI encoding.
- 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.
Keep going
People who use this tool usually reach for these next.
Turn percent-encoded escapes back into readable text.
Encode or decode Base64 text and files, Unicode-safe.
Beautify, minify and validate JSON with error positions.
Make a QR code for a link, text, email, phone or Wi-Fi.