So you basically just need a code editor from the sounds of it.
Sublime is a good recommendation from Macdonjo. But it's not free so you'll need to obtain it however you obtain it.
Brackets, Atom and Visual Studio Code are all free options to choose from, Brackets perhaps the most popular of...