ToolNest

🔗 URL Encoder / Decoder

Encode and decode URLs online free — percent-encode full URLs or individual query components and decode %xx strings back to readable text. Instant and private.

🔒 100% Private — no uploads ⚡ Instant — works offline 💸 Free forever — no sign-up

How to use the URL Encoder / Decoder

  1. 1 Paste your URL or text.
  2. 2 Pick Component mode (for query values) or Full URL mode.
  3. 3 Click Encode or Decode and copy the result.

Frequently asked questions

What is the difference between Component and Full URL mode?

Component mode (encodeURIComponent) encodes every special character including / ? & = — use it for individual query parameter values. Full URL mode (encodeURI) keeps URL structure characters intact — use it to safely encode a whole URL.

Why do spaces become %20?

URLs cannot contain literal spaces, so they are percent-encoded as %20 (or + in some form encodings). Decoding converts them back.

When do I need URL encoding?

Whenever user text goes into a URL: search queries, redirect targets, UTM parameters, API calls. Unencoded special characters like & or # break the URL structure.

Is my URL logged anywhere?

No — encoding and decoding run locally in your browser.

Related tools