Today we talk about how in magento 2 Remove layered navigation. If you want to remove for for all the categories then add this code in your default.xml
Add this to your theme or module
If you want to do this for single category you can do that from admin panel. Login to admin panel and then go to
Admin Panel > Products > Categories > YOUR PAGE > Design
Add the following xml.