A Monte Carlo simulation procedure has been set up and applied to generate representative ensembles of randomly branched step-growth polymers based on their reaction recipe. The molecular distributions thus obtained are consistent with those from statistical/analytical approaches. However, because the current method gives access to the complete ensemble of simulated molecules, a very detailed structural analysis is possible. Our procedures are applicable to any ‘AfBg’ system with f¿+¿g = 1. We apply this approach to randomly branched polyamides in order to gain insight into their molecular structure and understand the effect of the reaction recipe on the final product.