🔗

URL Encoder / Decoder

Encode and decode URLs and query string components. Supports full URL and component encoding modes.

How to Use

  1. Choose between Full URL mode (uses encodeURI) or Component mode (uses encodeURIComponent).
  2. Type or paste your URL or query string component into the input field — the encoded and decoded results update in real time.
  3. Click Copy next to either output to copy it to your clipboard.

Frequently Asked Questions

What is the difference between Full URL and Component mode?
<code>encodeURI</code> encodes a complete URL and preserves characters like <code>://?=&amp;</code> that have structural meaning. <code>encodeURIComponent</code> encodes a single component (like a query value) and escapes those structural characters too.
When should I use Component mode?
Use Component mode when encoding individual query parameter values, form fields, or path segments — anywhere you want <code>&amp;</code> and <code>=</code> to be escaped.
Is this tool private?
Yes — all encoding and decoding happens in your browser with no server requests.