If you use the ADUC (Active Directory Users and Computers) GUI you can run a simple query asking for all the objects in AD or just users or just groups or what have you.
Once you have the list you can actually select all copy and paste or right click and export to CSV from what I recall.