Text
URL Encoder / Decoder
Convert URL text with clear modes for a single value, a complete URI, or a form value.
Result
Text
caf%C3%A9%20%26%20tea%20%2F%20%E2%98%95 URL component mode.
Choose the right URL encoding mode
- Choose Encode or Decode.
- Choose the mode for your input, then paste text and review the live output.
- Copy or download the result. Malformed escapes are reported instead of silently replaced.
Component, complete URI, and form value
- URL component uses
encodeURIComponentanddecodeURIComponent. Use it for one query value or path segment:tea & coffeebecomestea%20%26%20coffee. - Complete URI uses
encodeURIanddecodeURI. Separators such as:/?&=#remain structural. On decoding, reserved escapes such as%2Fstay encoded. - Form value follows form component rules: a space
becomes
+, and a literal plus becomes%2B. Decode turns plus signs into spaces. Encode one value at a time; this mode does not parse a whole query string.
Common mistakes and limits
Encoding an already encoded percent sign encodes it again. Decode only once unless you know the data was encoded multiple times. This tool transforms strings; it does not validate, open, or fetch URLs. Conversion runs locally and supports Unicode. Invalid percent escapes and invalid UTF-8 sequences produce an error.