Encode URL Online — Free URL Encoder with Query Params Table
encodeURIComponent · encodeURI · RFC 3986 — Query Params Table · URL Builder · Batch Mode — 100% browser-side
Paste text → get encoded URL
Real-time · 200ms debounce · No button click needed
Encode any URL online for free with our advanced URL encoder. The Query Params Table lets you paste a URL and visually edit each key=value pair — the encoded URL rebuilds automatically. The URL Builder creates URLs from scratch by filling in protocol, host, path, and params separately.
What is URL Encoding?
URL encoding (percent encoding) converts special characters into a % followed by two hex digits. For example, a space becomes %20, & becomes %26, and / becomes %2F. This ensures URLs remain valid across all browsers, servers, and APIs regardless of the special characters they contain.
encodeURIComponent vs encodeURI vs RFC 3986
encodeURIComponent is the safest choice for encoding individual query parameter values — it encodes everything except A-Z a-z 0-9 - _ . ! ~ * ' ( ). encodeURI is designed for full URLs and preserves characters like : / ? # [ ] . RFC 3986 is the strictest standard — also encoding ! ' ( ) * — recommended for OAuth signatures and API authentication headers.
Frequently Asked Questions
How do I use the Query Params Table?
Paste a full URL into the input. If it has query params, the Params Table appears. Click to open it — you can edit any key or value and the encoded URL rebuilds instantly.
How do I use the URL Builder?
Click URL Builder button. Fill in protocol, host, path, and add key=value params. The tool builds and encodes the URL as you type. Click "Encode this URL" to load it into the main encoder.
How do I encode multiple URLs at once?
Switch to Batch Mode. Paste one URL per line — all are encoded simultaneously using your chosen mode. Download all results as a .txt file.
What is the Share URL feature?
Click Share URL to get a link that pre-loads your exact input in this tool. Share it with teammates so they can see the same encoded/decoded result without copy-pasting.
Can I use this for API development?
Yes. The Code Snippets panel shows how to do the same encoding in JavaScript (encodeURIComponent/encodeURI), Python (urllib.parse.quote), and cURL (--data-urlencode). Copy the code directly.