Nutrients are present in all the fruits but in different quantities. Hence, it is essential to be aware of the nutritional value of fruits before we add them to our health routine. Coconut vs Pineapple Nutrition will help you choose the best fruit among the two. Carbs in Coconut and Pineapple are 24.23 g and 13.12 g respectively. The protein content of Coconut and Pineapple is 3.33 g and 0.54 g. Protein to carb ratio of any fruit must be approximately 1.34. Protein to carb ratio of Coconut is 0.22 and in Pineapple, it is 0.04. Nutritional value of fruits is incomparable to other food items. They provide all the vital nutrients required for proper functioning of our body.