URL Encode: "Hello, World!"
The URL encoded version of "Hello, World!" is:
Hello%2C%20World%21
Why URL Encode?
Special characters must be encoded for use in URLs to ensure proper transmission.
Code Examples
// JavaScript
encodeURIComponent("Hello, World!");
// Output: "Hello%2C%20World%21"
# Python
from urllib.parse import quote
quote("Hello, World!")
# Output: "Hello%2C%20World%21"