Similarly to the LTE tracing, you can provide multiple output formats for STM traces by specifying multiple --output-* flags.
For example, you can convert an STM trace file to both ASCII and raw binary formats:
nrfutil trace stm --input-file stm_trace.bin --output-ascii decoded_trace.txt --output-raw processed_trace.bin