Hi Vlad,
The Excel exporter module has the option to export to CSV.
https://marketplace.mendix.com/link/component/726
There even is a learningpath explaining how to use it here:
https://academy.mendix.com/link/paths/44/Importing-and-Exporting-Your-Data
Hope this helps!