Hi there. What I understood is that you're having problems coverting your EELS spectra into txt, right? If you're using GATAN software to analyse your spectra, you can download a script that converts the file opened by GATAN into txt.
Here you can find it, the script is named as: "Create Spectrum from Image", just run the script after opening your file and it will ask you to save the open spectrum as .txt