Query parameter preparation
Encode special characters such as spaces, ampersands, or Unicode before building links or API requests.
Percent-encode or decode text for safe URL handling.
URL Encoder helps you prepare query parameters, route segments, and form submissions by applying or removing percent-encoding exactly when you need it.
Encode special characters such as spaces, ampersands, or Unicode before building links or API requests.
Inspect incoming URL-encoded payloads from third-party services and decode them for easier reading.
Validate and decode redirect targets captured from logs or database entries to ensure they match expectations.
Choose “URL encode” to apply percent-encoding or “URL decode” to reverse it.
Enter the raw text, query string, or route segment you need to transform.
After decoding long URLs, toggle the format button to wrap the output for easier inspection.
Yes. Spaces are encoded as %20, which is the preferred representation in modern web applications.
Decoding validates percent-escaped bytes. Invalid sequences—for example, `%G1`—produce a helpful error instead of returning corrupted data.
Use encodeURIComponent for query values and encodeURI for entire URLs so reserved characters like “/” and “?” stay meaningful. Double-encoding turns “%” into “%25” and corrupts parameters, while decoding untrusted input must validate escape sequences to avoid misinterpreting malformed strings captured from logs or user input.