Web and software developers use text editors to make code changes or start files from scratch using HTML, CSS, JavaScript, or any other programming language . If you don’t know a file’s format, you can open it with the text editor to view the source code.