In a large pot, cover onion, carrots, celery, garlic, and sweet potatoes with water and bring to a boil. Reduce heat and simmer 20 minutes. Add spinach and parsley and simmer five minutes more. Season with salt and pepper. Strain liquid; discard vegetables.
Store broth up to five days in an airtight container in the fridge or freeze up to three months.