✏ ENTER YOUR URL OR TEXT INPUT
💥 Please enter a URL or text first!
📚 TRY AN EXAMPLE — CLICK TO LOAD! EXAMPLES
Search URL
?q=hello world&category=tools
↓ %3Fq%3Dhello%20world...
Special Chars
"Hello World & More!"
↓ Hello%20World%20%26%20More!
Unicode
?name=أحمد&lang=ar
↓ %D8%A3%D8%AD%D9%85%D8%AF...
JSON Payload
{"token":"abc123"...}
↓ %7B%22token%22%3A%22abc123%22...
🧠 HOW URL ENCODING WORKS EXPLAINER
1

URLs can only contain a limited set of safe ASCII characters. Spaces and special chars must be encoded.

2

Each unsafe character is converted to its UTF-8 byte sequence, then each byte is expressed as %HH (two hex digits).

3

A space becomes %20, an ampersand becomes %26, a question mark becomes %3F.

4

This tool uses encodeURIComponent() which encodes everything except: A-Z a-z 0-9 - _ . ! ~ * ' ( )