URLs may only contain a limited set of characters, so anything else — spaces, accents, &, ?, = and more — must be "percent-encoded" (e.g. a space becomes %20). Doing this by hand is error-prone, and a single unescaped character can break a link or an API call. This free URL Encoder / Decoder converts text to and from percent-encoding instantly in your browser, for both single components and whole URLs.
How to use the URL encoder
- Choose Encode or Decode.
- Paste your text or URL — the result updates instantly.
- Toggle "Whole URL" to preserve URL syntax characters, then copy the output.
Why use this tool
- Handles both single components and full URLs.
- Instant, two-way conversion with one-click copy.
- Runs entirely in your browser — private and free.