Decode URL

Decode a URL-encoded string back to its original form.

Code

Utilities
printf '%b\n' "${str//%/\\x}"

Parameters

The URL-encoded string to decode.

Server

More Bash Snippets