URL Encoder / Decoder

Encode and decode URL strings. Percent-encoding for special characters. Useful for query strings and URLs.

Output:

 

What is URL Encoding?

URL encoding (percent-encoding) converts special characters in a URL into a format that can be safely transmitted. Characters like spaces, ampersands (&), and non-ASCII symbols are replaced with % followed by their hexadecimal value.

What is it used for?

  • Query strings: Encode parameters in URLs (e.g. ?q=hello+world)
  • API requests: Safely pass special characters in GET parameters
  • Form data: Encode form values for URL submission
  • Links: Create valid URLs with special characters

How it works

Encode converts characters to %XX format (e.g. space β†’ %20). Decode reverses this. All processing happens in your browserβ€”no data is sent to any server.