URL Encoder / Decoder
Encode and decode URLs and query string parameters online. Safely escape special characters for valid URLs with this free, private browser-based encoding tool.
How to use
- Select the Encode or Decode mode with the toggle at the top.
- Paste a URL or text string with special characters into the input field.
- View the encoded or decoded result instantly in the output panel.
- Copy the result to your clipboard or clear the input to start over.
FAQ
What is the difference between encodeURI and encodeURIComponent?
encodeURI encodes a full URI but preserves characters like colons and slashes, while encodeURIComponent encodes every special character. This tool supports both modes, and all processing stays in the browser.
Can I encode entire URLs with query parameters?
Yes. You can paste a full URL and the tool will properly encode the query string values. All encoding happens in your browser, so your data remains private.
Does URL encoding affect the length of my string?
Yes. Each special character is replaced by a percent sign and two hex digits, which increases the string length. The conversion runs locally in the browser with no size restrictions.