I don’t know if there is a tool for that, but if you open a kicad_mod file and compare it with the kicad_pcb file you see that the information you want is similar…
fp_line vs gr_line
fp_text vs gr_text
fp_arc vs gr_arc
I have no other idea, sorry.