Encode and decode URLs, query strings, and special characters. Supports multiple encoding modes, URL parsing, and bulk processing.
URL encoding (percent-encoding) replaces unsafe or reserved characters in URLs with a percent sign followed by two hex digits. For example, a space becomes %20, an ampersand becomes %26, and a slash becomes %2F. This ensures URLs are transmitted correctly across all systems.
This tool offers multiple encoding modes to match JavaScript's built-in functions and common use cases. Everything runs locally in your browser — your text is never sent to any server.
Equivalent to encodeURIComponent(). Encodes everything except letters, digits, and - _ . ! ~ * ' ( ). Best for query parameter values.
Equivalent to encodeURI(). Preserves URL structure characters like : / ? # & while encoding unsafe characters.
Break any URL into its components — protocol, host, port, path, query parameters, and fragment — with a color-coded visual display.
Encode or decode many strings at once, one per line. Perfect for processing lists of URLs, parameters, or file paths.