TTML to SRT Converter

Convert TTML, DFXP and XML subtitles to SRT, VTT and other formats. Add one file or up to 20 at once.

Your files are converted in your browser and never uploaded. Every file is saved as UTF-8.

Convert to

Drag and drop subtitle files here, or click to choose

TTML, DFXP or XML files, or any other subtitle format. Up to 2 MB each.

Or paste subtitle text

TTML Files

What is a TTML file?

TTML (Timed Text Markup Language) is the W3C caption format used by streaming services and broadcasters. Its earlier name is DFXP, and many TTML files simply end in .xml. Each line is a paragraph with a begin and end time, and styles such as italics are set on the line or defined once at the top.

Video editors, players and most upload forms want SRT instead. The converter reads the times however they are written and keeps the text and its styling.

Every kind of time

Clock times, frames, ticks and seconds all convert, using the frame and tick rates the file declares.

Styles kept

Italic, bold and underline come through, from the line itself or from styles defined at the top of the file.

Lines put together

Some files give each line of a subtitle its own paragraph with the same times. They become one subtitle with two lines.

YouTube XML too

YouTube's timed text XML converts as well, and automatic captions that overlap are trimmed so each ends where the next begins.

How It Works

How to convert TTML to SRT

Step 1

Add your TTML files

Drop in .ttml, .dfxp or .xml files, one or up to 20. The format is detected for you.

Step 2

Pick the format you need

SRT is selected. VTT, ASS, SBV, TXT and JSON work too.

Step 3

Download

Download each file on its own or all of them at once. The timing stays the same.

FAQ

TTML to SRT questions

Need Subtitles From Scratch?
Caption X logo

Caption X makes the subtitles too. Try it free.

Generate accurate, timed captions from your video in 100+ languages, in the browser or inside Adobe Premiere Pro, then export the format you need.

No subtitle file yet?

Get captions from the video itself instead of starting from a file.

100+ languages

Caption and translate in the languages your audience speaks.

View all download options