--- title: 'Liquid filters: strip_html' description: Strips all HTML tags from a string. api_name: liquid source_url: html: 'https://shopify.dev/docs/api/liquid/filters/strip_html' md: 'https://shopify.dev/docs/api/liquid/filters/strip_html.md' --- # strip\_html ```oobleck string | strip_html ``` returns [string](https://shopify.dev/docs/api/liquid/basics#string) Strips all HTML tags from a string. ##### Code ```liquid {{ product.description }} {{ product.description | strip_html }} ``` ##### Data ```json { "product": { "description": "
Just need a top up? Almost dead? In between? No need to worry because we have a range of sizes and strengths!
" } } ``` ##### Output ```htmlJust need a top up? Almost dead? In between? No need to worry because we have a range of sizes and strengths!
Are you low on health? Well we've got the potion just for you! Just need a top up? Almost dead? In between? No need to worry because we have a range of sizes and strengths! ```