URL Encode
Percent-encode text for URLs and query strings.
Your data never leaves your browser
This tool runs entirely on your computer. What you paste or drop is never uploaded, never stored and never seen by us — close the tab and it's gone. How we know
Sign up to run — no credit card required.
Press Run to see the output. Sign up takes ten seconds — no credit card required.
Worked example
a b&ca%20b%26cThis 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
Base64 EncodeEncoders
Encode text to Base64 — payloads, certificates, attachments.
Base64 DecodeEncoders
Decode Base64 back to text, UTF-8 safe.
URL DecodeEncoders
Decode percent-encoded URL text back to readable form.
JWT DecoderEncoders
Read a JWT's header and claims — it never leaves your browser, and we never verify the signature.