URL Encoder, Decoder, and Parser Online
Encode or decode URL text instantly, with optional full-URL and form handling, and parse URLs with the WHATWG standard.
URL special characters are encoded by default. Open “More options” to preserve full URL structure or handle “+” in form data.
Encode or decode immediately
URL special characters are encoded by default, which suits plain text, query parameter values, and individual path segments. Rules for complete URLs and HTML form data are available under “More options”, so there is no mode to choose before starting.
Percent escapes and UTF-8 are validated strictly without guessing whether the input is already encoded or double-encoding automatically.
When the input or result is a complete URL, the tool automatically offers an expandable structure view using the WHATWG URL standard. Detection affects only this view and never changes the codec result.
FAQ
- What does the tool encode by default?
- By default, it encodes URL special characters such as /, ?, &, and =. This is suitable for plain text, a path segment, or a parameter value. To keep a complete URL intact, enable the corresponding option under “More options”.
- Why is + sometimes a space and sometimes literal?
- Only application/x-www-form-urlencoded form data treats + as a space. Enable that rule under “More options” when needed; normal decoding preserves +.
- Why are relative paths and hostless addresses rejected?
- They cannot identify a destination site on their own. The parser accepts only complete URLs with a scheme and hostname, such as https://example.com/path, and never guesses missing parts.
- Are duplicate query parameters preserved?
- Yes. The parser keeps original order and duplicate keys instead of converting them to an object that would overwrite values.