URL encode
Percent-encode text for query strings and path segments in your browser. Nothing is uploaded.
Paste, then Encode.
How to use the URL encode
- Paste the raw value.
- Click Encode.
- Copy the percent-encoded string into a query parameter or path segment.
encodeURIComponent
Spaces become %20, not +. Reserved query characters such as & and = are encoded so they stay inside one parameter. That is what you want for a value you then append after utm_campaign=. The UTM builder already encodes fields when it builds a URL.
Nothing is uploaded
Encoding is local. 1.5 MB.
URL encode FAQ
Why not + for space?
application/x-www-form-urlencoded uses +. This page matches encodeURIComponent (%20).
Whole URL?
Do not encode https://. Encode only the unsafe value, or use the UTM builder for a landing URL.
Decode?
Use URL decode.