URL Encode
Encode special characters in URLs
How to use
- Paste the text or URL component you want to encode.
- The percent-encoded result appears instantly.
- Copy it into query parameters, links, or API requests.
Why use this tool
- Safe query params: Escapes spaces, &, ?, and other reserved characters so URLs don't break.
- Instant: Encodes as you type, with no server round-trip.
- 100% private: Everything runs in your browser. Your data is never uploaded to a server, so it's safe for confidential content.
Frequently asked questions
When do I need to URL-encode?
Whenever a value in a URL contains spaces or reserved characters like &, =, ?, #, or /, encoding prevents the URL from being misread.
What's the difference from encodeURIComponent?
This tool uses the same logic as JavaScript's encodeURIComponent, escaping characters that would otherwise have special meaning in a URL.
Is my input uploaded?
No — encoding happens locally in your browser.
Back to all tools