A text file (sometimes spelled "textfile"), the kind of computer file that is structured as a sequence of lines
You can change the file extension from .txt to .jar but .jar is a java format and is not normally used to wrap text.
you cant
HTML
There's probably a better way but one way would be to print the text file as a pdf and then open the pdf with an image editing program.