URL Encoder/Decoder

Result will appear here

How it works

Smart Encoding: Only encodes the parts that need it according to RFC 3986 standards:

  • Path segments: Encodes special characters while preserving `/` separators
  • Query parameters: Encodes keys and values while preserving `?`, `&`, and `=`
  • Fragments: Encodes content after `#` while preserving the `#` symbol

What stays unchanged:

  • Protocol (http://, https://)
  • Domain names and ports
  • URL structure delimiters

Real-time: Conversion happens automatically as you type - no need to click buttons.

Examples:

`https://example.com/my file.txt` → `https://example.com/my%20file.txt`
`search?q=hello world&type=web` → `search?q=hello%20world&type=web`
`#section 1` → `#section%201`