Developer tools
URL encoder & decoder
Percent-encode a URL component or decode escaped text.
A clear answer. Here’s how.
Uses encodeURIComponent/decodeURIComponent for an individual component, not an entire URL. Invalid percent escapes are rejected. Form-data decoding can treat plus signs as spaces.
See a worked example
Worked example
A fixed demonstration, separate from the values you enter above.
- Your text
- hello world & good things
- Direction
- Encode component
- Plus signs when decoding
- Keep + as a plus sign
Example result
hello%20world%20%26%20good%20things