Filters are simple methods that change the output of numbers, strings, variables and objects. They are used inside an output tag {{ }} and start with a pipe character |.

<!-- product.title = "Awesome Shoes" -->
{{ product.title | upcase }}
AWESOME SHOES

In this example, product is the object, title its attribute and upcase the filter that is applied.

Some filters need a parameter.

{{ product.title | remove: "Awesome" }}
Shoes

You can apply several filters to one output. They are applied from left to right.

<!-- product.title = "Awesome Shoes" -->
{{ product.title | upcase | remove: "AWESOME" }}
SHOES