urldecode Modifier

URL-decodes a string. The inverse of urlencode

string: I+just+want+%26+need+%24pecial+characters%21
{{ string | urldecode }}
{!! Statamic::modify($string)->urldecode() !!}
I just want & need $pecial characters!
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →