Percent-encode text for URLs — or decode it back to plain text.
Component mode uses encodeURIComponent: it encodes everything except A–Z a–z 0–9 - _ . ! ~ * ' ( ). For a full URL, tick Full-URL mode above — it keeps : / ? & = intact and only encodes the parts that need it. Never encode a whole URL in component mode, or its structure breaks.
URL encoding (percent-encoding) replaces characters that are not allowed in a URL with a % followed by two hex digits — for example, a space becomes %20 and & becomes %26 — so the text travels safely inside a web address.
Component mode (encodeURIComponent) encodes everything except letters, digits and - _ . ! ~ * ' ( ), which is right for a single query value. Full-URL mode (encodeURI) keeps the structure characters : / ? & = intact, which is right for a whole address. Encoding a whole URL in component mode would break its structure.
In a URL path or query value encoded with encodeURIComponent, a space is %20. The + form only means space inside form-encoded data (application/x-www-form-urlencoded), so %20 is the safe, universal choice here.
No — 100% free, no sign-up. Encoding and decoding happen in your browser; your text is never sent to a server.