URL Encode & Decode

Encode text to URL-safe format or decode percent-encoded strings.

📢 Ad Space
📢 Ad Space

What is URL Encoding?

URL encoding (also called percent encoding) converts special characters into a format that can be safely transmitted over the internet. Spaces become %20, ampersands become %26, and other special characters are replaced with % followed by their hexadecimal value. It's essential for query parameters, form data, and URLs containing non-ASCII characters.

How it works

URL encoding replaces unsafe characters with a percent sign (%) followed by two hexadecimal digits representing the character's ASCII code. For example, a space is encoded as %20, an ampersand as %26, and a forward slash as %2F. This ensures URLs remain valid and interpretable across all systems and protocols.