URL Encoder / Decoder
Escape a query value or a full URL, with a separate mode for each.
Free to use. Your input stays in this browser.
How to use it
- Choose Component for a query value or path segment, or Full URL for a complete address.
- Paste text and select Encode or Decode. The matching JavaScript URI function handles it.
- Copy the result, or select Clear to remove both input and output.
Component uses encodeURIComponent / decodeURIComponent, escaping separators such as /, ?, & and =. Full URL uses encodeURI / decodeURI to keep URL separators; decodeURI intentionally preserves escapes for reserved characters such as %2F and %26.
This is not application/x-www-form-urlencoded: spaces become %20, and + is never automatically converted into a space. Form encoders such as URLSearchParams follow different rules. Existing % escapes are encoded again when you select Encode.
Malformed percent escapes and invalid UTF-8 are reported without showing raw browser errors. The tool transforms text without navigating to the URL or sending it anywhere.