URL Encoder
Percent-encode text for safe use in URLs and query strings, with component, full-URL and form modes.
What is the URL Encoder?
URLs can only contain certain ASCII characters. Others — spaces, &, =, non-English letters — must be percent-encoded as %XX bytes.
How does it work?
Component mode encodes everything except unreserved characters (use it for parameter values). Full-URL mode keeps characters like / ? & that structure a URL. Form mode encodes spaces as +.
Example
“home loan & EMI” becomes home%20loan%20%26%20EMI.
Frequently asked questions
Is my data sent to a server?
No. This tool runs entirely in your browser; nothing you paste is uploaded or stored.
encodeURI or encodeURIComponent?
Use component mode for individual parameter values, and URI mode only for a whole URL you don’t want to break.
Related tools
Enable JavaScript to use this calculator.