Question: how to convert ldif to csv?
Answer: Download, install and open LDIF2CSV.
Click the button with the ellipsis (three dots) at the top of the window. ... 
Navigate to and click on the LDIF file you wish to convert. ... 
Click the "Load/Refresh" button. ... 
Check the check box labeled "Remove CF/LF."