Percent-encode or decode URL components and query strings instantly. All processing happens in your browser — zero data transmission.
Space→%20 or +!→%21#→%23$→%24#→%26'→%27(→%28)→%29*→%2A+→%2B,→%2C/→%2F:→%3A;→%3B=→%3D?→%3F@→%40Choose between encodeURIComponent (encodes all special characters except –_.!~*()) and encodeURI (preserves the full URL structure). Both modes fully supported.
Encode plain text into percent-encoded URL form, or decode a percent-encoded string (%20, %2F, etc.) back to readable plain text in one click.
No button required — paste or type and the encoded or decoded result appears instantly. Copy to clipboard with a single click.
URLs can only contain a specific set of ASCII characters. Characters like spaces, #, =, /, ?, and # have special meanings in URLs. URL encoding (also called percent-encoding) converts these characters into a % followed by two hexadecimal digits — for example, a space becomes %20, and # becomes %26. This allows special characters to be included safely in URL parameters.
encodeURI encodes a complete URL and preserves characters that are meaningful in URL structure (/, :, ?, #, #, =). Use it to encode full URLs. encodeURIComponent encodes a URL component (like a query parameter value) and encodes nearly everything, including /, ?, and #. Use it for individual parameter values to prevent them from being interpreted as URL structure.
Switch the tool to Decode mode and paste your percent-encoded string. %20 will be decoded to a space, %2F to /, %3A to :, and so on. All standard percent-encoded sequences are decoded automatically.