Developer Tools

URL Encode / Decode — Free, No Upload, Instant

Encode or decode URL components using encodeURIComponent — the right choice for query parameter values. Runs in your browser: instant results, no upload, no server, no tracking.

Frequently Asked Questions

When should I URL-encode text?
When passing text as a query parameter in a URL. Special characters like &, =, ?, #, and spaces must be encoded to avoid breaking the URL structure.
What's the difference between encodeURI and encodeURIComponent?
This tool uses encodeURIComponent, which encodes everything except letters, digits, and - _ . ! ~ * ' ( ). Use it for individual parameter values, not full URLs.
Is my data sent anywhere?
No. Everything runs in your browser using built-in JavaScript.