Percent-encoding, done right
Encode or decode URLs and query strings instantly with encodeURIComponent or encodeURI, plus a built-in query-string inspector that breaks any URL into a readable parameter table.
Browsers and servers only accept a limited set of characters in a URL, so spaces, ampersands, question marks and unicode must be percent-encoded (%20, %26, and so on). This tool encodes and decodes both full URLs (encodeURI) and individual query values (encodeURIComponent), so you always pick the right escaping for the job, whether you're building a link, debugging a redirect, or reading an OAuth callback.


