How to convert txt files to csv

Hello,

Could you help me, please, to convert txt files to csv?

Thank you.