Developer tools

URL encoder & decoder

Percent-encode a URL component or decode escaped text.

URL encoder & decoder
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

Your inputs stay in this browser. Nothing is uploaded or saved.

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