Modifier: urlencode


URL-encodes a string. The inverse of urldecode

string: I just want & need $pecial characters!
{{ string | urlencode }}
I+just+want+%26+need+%24pecial+characters%21

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on August 12, 2018