It depends on your needs and requirements. While both these platforms come with their pros and cons, any of them cannot be judged on a few aspects. Shopify is an easy-to-use platform and Magento is free and open-source but not as simple as Shopify.