Pre-launch — your 10 free credits are reserved for launch day. Join the waitlist
encoders · free tool

URL Encode

Percent-encode text for URLs and query strings.

Runs in your browser — your data never leaves it

Paste, type, or drop a file. Runs as you type.

Output appears here as you type.

Worked example

Input
a b&c
Output
a%20b%26c

This example is one of URL Encode's test cases — if the tool stopped producing this output, the build would fail.

Questions

Which encoding does it use?
Percent-encoding via encodeURIComponent — safe for query-string values and path segments.
Does it encode spaces as + or %20?
%20. The decoder accepts + as a space too, since query strings in the wild use both.

Related tools