URL Encode / Decode

Encode, decode, and dissect URLs

0 chars

About this tool

What does URL encoding do?
Converts characters that are not safe in a URL — spaces, special characters, non-ASCII — into percent-encoded form (e.g., space becomes %20). Required for query parameter values, form submissions, and API calls.
What is the difference between encodeURI and encodeURIComponent?
encodeURI encodes a full URL and preserves characters with structural meaning like / and ?. encodeURIComponent encodes a value intended for a query parameter and encodes / and ? too. Use encodeURIComponent for values, encodeURI for complete URLs.
Can I parse and encode individual query parameters?
Yes. The tool parses a URL and lets you inspect and edit individual query parameters, then reconstructs the properly encoded URL.
Is my URL sent to a server?
No. Encoding and decoding run client-side.