Both .sub (subtitles) and .text files are stored in a text file format with ASCII or UTF-8 encoding and as such these can be opened simply with any text editing software. If you want, you can rename the file extension from sub to text, but that's it. No sub to text conversion is actually required.
Open SUB file Open TEXT file