Instantly percent-encode special characters for use in URLs, or decode encoded strings back to readable text.
URLs can only contain a limited set of characters. Special characters like spaces, ampersands, quotes, and non-ASCII characters must be percent-encoded (e.g. space becomes %20) before being used in a URL. Our URL Encoder & Decoder handles this conversion instantly — encode messy strings for use in query parameters, or decode percent-encoded URLs back to readable text.
URL encoding converts characters that are not allowed in URLs into a %XX format where XX is the hexadecimal ASCII code. For example, a space becomes %20, & becomes %26, and = becomes %3D.
You need to URL encode values used in query string parameters, especially when they contain special characters like &, =, +, #, spaces, or non-ASCII characters. Without encoding, these can break URL parsing.
encodeURI encodes a full URL but leaves characters like ?, &, =, / intact. encodeURIComponent encodes everything including those characters — it is for encoding individual query parameter values. Our tool uses component-level encoding for maximum compatibility.
In HTML form submissions, spaces are encoded as + (application/x-www-form-urlencoded format). In standard URL percent-encoding, spaces are encoded as %20. Our tool uses %20 which is correct for modern URLs and APIs.
All processing happens locally in your browser. We never see, store, or transmit your data. This tool is fully client-side and secure.
Other free tools you might find useful