Encode or decode URLs and query string parameters instantly — free, private, no signup.
Copied!
Enter the URL you want to encode, or paste a percent-encoded string you want to decode back to readable text.
Click "Encode" to convert special characters to percent-encoding, or "Decode" to reverse an already-encoded string.
Click "Copy" to copy the output to your clipboard. Use it directly in your code, API calls, or browser address bar.
URL encoding (percent-encoding) converts characters that are not allowed in URLs into a % followed by two hex digits. For example: space → %20, & → %26, = → %3D, making URLs safe for transmission.
URLs can only contain certain ASCII characters. Special characters like spaces, &, =, and #, plus non-ASCII characters like accented letters or emoji, must be encoded so browsers and servers interpret them correctly.
All characters except letters (A-Z, a-z), digits (0-9), and the unreserved characters (- _ . ~) get encoded. Common examples: space → %20, & → %26, = → %3D, / → %2F, + → %2B, ? → %3F, # → %23.
Always encode individual query parameter values before appending them to a URL. Without encoding, characters like & and = inside a value will break the URL structure and be misinterpreted by servers.
Paste the encoded URL or string into this tool and click Decode. All percent-encoded sequences (%20, %2F, %3D, etc.) are converted back to their original readable characters instantly.
Yes. Non-ASCII characters (like é, ü, Chinese characters, or Arabic text) are first converted to UTF-8 bytes, then each byte is percent-encoded. For example, é becomes %C3%A9.
In query strings (after ?), spaces can be encoded as either + or %20. In URL paths (before ?), only %20 is correct. This tool uses %20 (encodeURIComponent standard), which is safe in both positions.