No, traditional pesto has parmesan cheese in it which is not suitable to be consumed by vegetarians and vegans. However, these days some brands also sell vegan pesto so, if you are a vegetarian or vegan you can use that. I used homemade vegan pesto whose recipe I have already shared on this blog. If you want, you can try that too. It's easy to make, can be made in just 5 minutes, and is delicious.