Abstract: Balancing logic is automatically generated from conversion logic in a data conversion system. The balancing logic balances source data from a source system with the corresponding converted data in a target system. The balancing logic determines whether the conversion was properly performed so as to balance the two varieties of data. The balancing logic is automatically generated by a computer system or other electronic device in response to examining conversion logic that is encoded in a script or other representation.