TTML to SRT converter
TTML, the Timed Text Markup Language, is the XML subtitle format used by broadcasters, streaming services and professional caption tools. Convert it to SRT to use the captions in ordinary players and editors.
Your subtitle file
Drop subtitle files here
SRT, VTT, ASS, SBV, TTML, SUB, SMI, LRC and more · up to 100 files
Or paste subtitle text
Your file is read by this page in your browser. It is not uploaded anywhere.
Letters look wrong? Choose the language group the file was made for.
MicroDVD and Spruce STL files count video frames. Choose the frame rate of the video the subtitles belong to.
The preview shows the beginning of the file. The download contains everything.
How to use it
Open your TTML file
Choose or drop the TTML file, or several at once. It is read by this page and never uploaded.
Check the SRT preview
SRT is already selected. Check the preview, or pick another format if you need one.
Download the SRT file
Download the converted file, or all of them as a ZIP when you opened several.
Times in TTML
TTML can write times in several ways: as clock times such as 00:01:02.500, as clock times with frames such as 00:01:02:12, or as offsets such as 62.5s, 1500ms or ticks. The converter reads the frame rate and tick rate declared in the file and turns every form into exact SRT times.
Captions that give a duration instead of an end time get their end from the start plus the duration.
What is kept
Words, line breaks and italic, bold and underline are kept, including styles defined once in the head of the file and referenced by name. Regions, positions, colors and fonts are removed. Captions without a readable start time are left out and counted in the summary.
Questions and answers
Is TTML the same as DFXP?
DFXP is the name of an early profile of TTML, and both use the same XML structure. Files with either extension work here.
Can I convert SRT to TTML?
Yes. Choose TTML or DFXP as the output format in the converter.
My TTML file has several languages. What happens?
All captions in the file are converted together. Split multi-language files first, or remove the lines you do not need afterwards.