Both cities are family-friendly, but Barcelona may be a better option as it has more activities and attractions geared towards children.