URL Encode / Decode
Encode / DecodePercent-encode and decode URLs
Query parameters with spaces or special characters break links and API calls unless they're percent-encoded first, and this handles both directions: encoding a raw string to make it link-safe, or decoding a percent-encoded string from a browser address bar or server log back into something readable. It uses component-style encoding, the same escaping `encodeURIComponent` does in JavaScript, which is the correct choice for individual query values rather than an entire URL (encoding a whole URL this way will also escape the `://` you actually want to keep). This is a different job from HTML entity encoding, and from URL Parser, which breaks a URL into its structural pieces rather than just encoding or decoding a string.
How to use URL Encode / Decode
- 1.Paste a URL or query string with spaces and special characters, then encode it to make it safe to embed in a link or HTTP request.
- 2.Decode a percent-encoded string (e.g. from a browser address bar or server log) back into readable text.
- 3.Use it to debug why a query parameter isn't being read correctly by an API — often caused by double-encoding or missing encoding.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/url-encode \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"input":"hello world&foo=bar","mode":"encode"}'Get an API key from your dashboard · Full API docs →