The file extension is not necessarily linked to the format of the file but instead just tells File Explorer how to open and ...
If you just want to change the file extension to open it in some other program, then any text editor will do the trick for you. I hope this post was able to bring some clarity to your doubts ...