URL Encode / Decode

Percent-encode text for safe use in a URL query string or path segment, or decode it back.

How it works

This tool uses encodeURIComponent/decodeURIComponent — the correct choice for encoding a single query parameter value or path segment. Reserved characters (space, &, ?, =, /, etc.) are converted to %XX sequences so they aren't misinterpreted as part of the URL's structure.