URL Encoder / Decoder
Encode and decode URLs and query string components. Supports full URL and component encoding modes.
How to Use
- Choose between Full URL mode (uses
encodeURI) or Component mode (usesencodeURIComponent). - Type or paste your URL or query string component into the input field — the encoded and decoded results update in real time.
- 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>://?=&</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>&</code> and <code>=</code> to be escaped.
- Is this tool private?
- Yes — all encoding and decoding happens in your browser with no server requests.