There are several good ‘migration’ tools that will do what you ask. Google ‘Active Directory Migration’. OR
Download the latest version of Microsoft’s Log Parser (2.2).
This tool reads AD objects, Event Logs, XML. Uses SQL type queries to select, order and output the data. And can write to CSV, TSV, SQL Server, etc.
Includes the formats of the objects it can read, with options for filtering. Specifies the formats it can output, with options. AND has a huge help file (443 pages single sided). Very handy for network management.