You can open and edit any text file using any of the available text editors. You do not need to convert anything, just rename the suffix should you need it. However, you may need to save it using proper coding when saving your file. This is often used when you mod scripts for computer games, including Call of Duty (.gsc scripts).
Updated: August 4, 2016