Hidden within the command-line is an extremely useful utility named textutil
. With it, you can convert a wide variety of different text document formats.
MacIssues goes into more detail about how you can use this command, which can be very useful if you don't necessarily have a suitable app to open it in.