JSONToonPro
Encoding tool

URL Encode

Percent-encode any text or URL using encodeURIComponent. Spaces become %20, slashes become %2F, and all special characters are converted to safe URL tokens. Everything runs in your browser.

100% client sideInstant resultNo data sent
Plain text / URL
0 chars
URL Encoded
Result appears here...

Frequently asked questions

4 answers
URL encoding (also called percent-encoding) converts characters that are not allowed in a URL into a safe format. Each unsafe character is replaced with a percent sign followed by two hexadecimal digits representing the character's ASCII or UTF-8 byte value. For example, a space becomes %20, an ampersand becomes %26, and a forward slash becomes %2F.

More JSON Tools

About URL Encoding

URL encoding is a fundamental part of working with HTTP. Query parameters, form submissions, and API calls all rely on percent-encoding to safely carry arbitrary text inside a URL. This tool uses the browser's native encodeURIComponent function, which handles Unicode correctly by first converting characters to their UTF-8 byte sequences and then percent-encoding each byte. It is the standard choice for encoding individual query parameter values before appending them to a URL.