URL decode
url_decodeDecode percent-encoded URL text using component or full mode, optionally converting plus signs to spaces for form data. Use it to read encoded query values, paths, or whole URLs and surface errors on malformed %-sequences.
Instructions
Decode percent-encoded text (decodeURIComponent, or decodeURI with mode "full"). Optionally turn "+" into spaces (form encoding). Errors on malformed %-sequences. Web version: https://s3eidat.github.io/url-toolkit/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "component" = encodeURIComponent (for one query value or path segment; escapes / ? & = #). "full" = encodeURI (a whole URL; keeps those). | component |
| text | Yes | Percent-encoded text. | |
| plusAsSpace | No | Treat "+" as a space (application/x-www-form-urlencoded). |