How URL Encoder / Decoder works
URL Encoder / Decoder converts strings to and from percent-encoding (also called URL encoding), the format required by RFC 3986 for including special characters safely in URLs. Paste a raw string to encode it, or paste a percent-encoded string to decode it back to human-readable form. The conversion runs entirely in the browser using JavaScript's encodeURIComponent and decodeURIComponent; nothing you type leaves your device.
URL encoding matters whenever you build query parameters, redirect URIs, or canonical links programmatically. A space becomes %20, an ampersand %26, a hash %23, and so on. Encoding also applies to internationalized domain names and non-ASCII characters in path segments. This tool also offers encodeURI mode for encoding full URIs while preserving structural characters like '/', '?', and '#'.