I'm looking for your help and suggestion how to get started with CC conversion from .xml to .vtt.

We are having lots of flash files where we have xml to vtt during a project migration. I tried with many online tools most don't have solution for this.

Could you please help me how to start on this. Suggest me any tools/online converters which can do this job for me.



1 Answer 1


Closed Caption Converter claims to be able to convert from TTML (XML) to VTT captions. I don't have a source file unfortunately, so I cannot confirm.

What tools have you tried thus far?

  • I have tried below online and offline tools. Go transcript Closed Caption Converter Suvtile Edit
    – SivaKumar
    Aug 9, 2019 at 5:59
  • --- here is the sample code format <captions> <caption time_in="0.64" time_out="4.74" action=""><![CDATA[Line 1]]></caption> <caption time_in="4.75" time_out="8.05" action=""><![CDATA[line 2]]></caption> <captions>
    – SivaKumar
    Aug 9, 2019 at 6:01
  • I hope you're familiar with Python then, because this seems to be the only solution: github.com/nrk-rip/nrk-rip/blob/master/ttml2srt.py
    – user25890
    Aug 9, 2019 at 18:20
  • Thank you @John Pooley for your suggestions. Finally I'm able to achieved the targeted solution using Node JS
    – SivaKumar
    Aug 13, 2019 at 7:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.