URL Utility

URL Encoder & Decoder

Instantly encode special characters into percent-encoded format for safe URL transmission, or decode percent-encoded URLs back to readable text.

Encoding Options
πŸ”

encodeURIComponent

Encodes every character except A-Z, a-z, 0-9, -, _, ., !, ~, *, ', (, and ). Use this for encoding individual query parameters.

πŸ”—

encodeURI

Encodes a complete URL, preserving characters like /, :, ?, =, &, and # that have meaning in URLs. Use this for full URL encoding.

πŸ”“

Decode Mode

Converts percent-encoded characters (like %20, %3D) back to their human-readable equivalents. Works with both modes automatically.

What is URL Encoding?

URL encoding (also called percent-encoding) converts characters that are not allowed in URLs into a format that can be safely transmitted over the internet. When you include characters like spaces, ampersands, or equals signs in a URL, they must be encoded to prevent them from being interpreted incorrectly by web servers and browsers.


For example, a space becomes %20, and an ampersand becomes %26. This encoding is essential for building URLs with query parameters, handling form submissions, and constructing API endpoints correctly.