INDEPENDENT EXPLAINERS · GLOBAL EDITIONEvidence first. Perspective follows.
All tools

URL component encoder

Processed in this browser. Nothing is uploaded.

Example

Example: hello world?

Maximum 1,000,000 characters.

How to use this result

Encode text as a single URL component so characters such as spaces, question marks and slashes can be carried as data. Use it when preparing one query-parameter value, rather than an entire navigable URL.

Worked example

text: hello world?
hello%20world%3F

Limits and edge cases

This uses encodeURIComponent, so an entire URL would have its separators encoded too. Spaces become %20, not +. Encoding is not encryption and does not hide private information.