TTML to SRT Converter

Convert TTML or DFXP XML timed text to standard SRT subtitle files. The conversion runs locally in your browser.

Upload TTML file
Supported: .ttml, .dfxp, and XML timed text files.
Upload a TTML or DFXP file to preview cues and download as SRT.

Convert TTML to SRT online

Convert TTML or DFXP XML timed text to SRT subtitles online. Extract caption text and timing into SubRip format. Use it when a caption platform, media player, lyric app, or review workflow needs a different subtitle format.

Instant conversion

Parse the source file and build the converted subtitle output directly in your browser.

Cue preview

Review parsed cue text and timestamps before downloading the converted file.

Private workflow

The conversion runs locally after the page loads, so your subtitle file stays on your device.

Clean export

Download a .srt file ready for your player, platform, editor, or spreadsheet.

How to convert TTML to SRT

Use this converter when you need a simple SRT file from TTML or DFXP XML captions.

  1. 1

    Upload TTML

    Choose a .ttml, .dfxp, or XML timed text file.

  2. 2

    Extract cues

    The converter reads TTML paragraph timing and visible text.

  3. 3

    Download SRT

    Save the captions as numbered SubRip cues.

TTML to SRT examples for extracting readable captions

Convert TTML or DFXP XML captions to SRT when you need a simple subtitle file for editing, playback, translation, or upload forms.

Example input and output

TTML input
<p begin="00:00:02.400" end="00:00:05.100">Welcome<br/>back.</p>
SRT output
1 00:00:02,400 --> 00:00:05,100 Welcome back.

Best for

Simple playback

Extract SRT cues from XML captions for players and editors with broad SRT support.

Caption review

Convert TTML into numbered cues that are easy to inspect in a text editor.

Translation handoff

Use SRT as an intermediate format for translation and cleanup tools.

Common file issues handled

Clock and offset times

Common TTML clock times and simple offset values such as 62.5s are supported.

Line breaks

TTML br elements become normal subtitle line breaks in SRT.

Styling removed

SRT cannot keep TTML styling, so the output keeps readable text and timing.

XML parsing

Invalid XML is rejected instead of producing a partial subtitle file.

Frequently Asked Questions

Which TTML timing forms are supported?
The converter reads common clock times such as 00:01:02.500 and simple offset times such as 62.5s.
Does TTML styling carry over to SRT?
No. SRT is a simple text format, so the converter extracts readable cue text and timing.