Fastway Tools

URL Encoder / Decoder

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

  1. Choose Encode or Decode.
  2. Paste your text or URL — the result updates instantly.
  3. 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.

FAQ

When should I URL-encode text?

Encode any value placed in a URL — query parameters, path segments or fragments — so characters like spaces, &, ? and = do not break the link.

What is the difference between the two modes?

By default it encodes a single component (encodeURIComponent). Tick "Whole URL" to keep URL syntax characters (:/?&=) intact while encoding the rest.

Is my text sent anywhere?

No. Encoding and decoding run entirely in your browser.