Question: how to transfer itunes data from windows to mac?
Answer: When you get a new Mac, use Setup Assistant (or Migration Assistant, if you're switching from Windows) to move files — including your iTunes files — from your old computer to the new one. ... 
Connect computers (over a wireless network or with a cable) and copy your iTunes files from one computer to the other.