If you want to "make a text" that is simply a the RAR file: Open your Command Prompt (CMD).

If you don't want to install software, you can use online tools to convert the contents of a RAR archive directly into a text format:

This will create a new file called list.txt containing all filenames from the archive.