URL Encode & Decode
Percent-encode or decode URLs and query strings, and break any URL into its parts. Instant, private, free.
URL or text
Result
How to use the URL Encoder
- 1
Paste a URL or a query string fragment.
- 2
Switch between Encode and Decode, and between component and full-URL mode.
- 3
Use the parts table below to inspect the host, path and every query parameter.
Frequently asked questions
What is the difference between component and full-URL encoding?
Component mode (encodeURIComponent) escapes / ? & = # too, which is what you want for a single query parameter value. Full-URL mode (encodeURI) leaves those characters alone so a complete URL stays usable.
Why does my decoded text show odd characters?
That usually means the string was encoded with a legacy charset, or was double-encoded. Run Decode a second time to unwrap double encoding.
Is my data uploaded to a server?
No. Every tool on this site runs entirely inside your browser using JavaScript. Your input never leaves your device and is never sent over the network, which means it is safe to paste production data, API responses and tokens.