You can convert a raw binary STM trace file to ASCII format for easier reading and analysis.
The following command transforms a binary file stm_trace.bin to the decoded_trace.txt file:
nrfutil trace stm --input-file stm_trace.bin --output-ascii decoded_trace.txt