Percent-encode or decode URLs using encodeURI or encodeURIComponent modes. Fully client-side — no account, uploads, or remote storage.
Added Apr 18, 2026
Input
Result
Enter a value for mode to see your result.
Encodes or decodes URL strings using either encodeURIComponent (for query parameters) or encodeURI (for full URLs). Handles UTF-8 characters correctly.
Spaces become %20, & becomes %26, = becomes %3D.
Inputs
Result
%20 → space, %26 → &, %3D → =.
Inputs
Result
Use encodeURIComponent for individual query parameter values — it encodes &, =, ?, /, and other URL structural characters. Use encodeURI for a full URL where you want to preserve the URL structure but encode spaces and non-ASCII characters.
In standard percent-encoding (RFC 3986) spaces are encoded as %20. The + notation is used only in application/x-www-form-urlencoded content type, which is different from URL encoding.