SRT to TTML Converter

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

Upload SRT file
Supported: .srt (UTF-8). Export as TTML/DFXP XML.
Upload an SRT file to preview subtitle cues and download as TTML.

Convert SRT to TTML online

Convert SRT subtitles to TTML or DFXP XML timed text online. Free private browser converter for platform caption delivery. 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 .ttml file ready for your player, platform, editor, or spreadsheet.

How to convert SRT to TTML

Use this converter when a platform asks for TTML or DFXP XML timed text.

  1. 1

    Upload SRT

    Choose your SubRip subtitle file.

  2. 2

    Preview timing

    Make sure cue start and end times are correct.

  3. 3

    Download TTML

    Save an XML timed text file with TTML paragraph cues.

SRT to TTML examples for XML timed text delivery

Convert SRT to TTML or DFXP-style XML when a platform or publishing workflow expects timed text markup instead of plain SubRip cues.

Example input and output

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

Best for

Timed text delivery

Create simple TTML XML from SRT for caption delivery or platform import checks.

DFXP-adjacent workflows

Use a TTML-style XML file when a workflow asks for TTML or DFXP timed text.

Structured captions

Move subtitle cues into XML while keeping start and end timing.

Common file issues handled

Simple XML

The generated TTML includes body, div, and p elements with begin and end attributes.

Text escaping

Special XML characters are escaped so caption text remains valid markup.

Line breaks

Multi-line SRT cues are represented with TTML line break elements.

No styling

The output focuses on timing and readable text, not advanced TTML styling.

Frequently Asked Questions

Is TTML the same as DFXP?
DFXP is a timed-text XML profile related to TTML workflows. This converter exports TTML-style XML cues.
Does the TTML output include styling?
The output is intentionally simple: it includes timing and text cues, not a complex style sheet.