URL encode and decode
Percent-encoding in component or full-URL mode.
- 01Paste
- 02Adjust
- 03Copy
Paste text to begin. Free
01 — Steps
How to URL encode and decode
- Paste
A string or a full URL.
- Choose mode
Component mode encodes everything reserved; URL mode keeps :/?#& intact.
- Copy
Done.
02 — Questions
Frequently asked questions
What is the difference between the modes?
encodeURIComponent escapes characters like / and ? so a value can sit inside a query string; encodeURI leaves URL structure alone.
Are spaces + or %20?
%20 by default; toggle the form-encoding option for +.
Can it decode a whole URL?
Yes. Paste the full URL and switch to decode; the structure is left intact.
03 — Related
Related tools
04 — More
All developer tools