url_encode

Filter = url_encode

Converts any URL-unsafe characters in a string into percent-encoded characters.

INPUT

OUTPUT

{{ "john@liquid.com" | url_encode }}

john%40liquid.com

INPUT

OUTPUT

{{ "Tetsuro Takara" | url_encode }}

Tetsuro+Takara