TTML to SRT

Convert TTML or DFXP captions to SRT. Frame, tick and offset times become exact SubRip timestamps.

  1. 01 Add file
  2. 02 Choose format
  3. 03 Download

Your subtitles

Drop your subtitle file here

TTML / DFXP subtitles, or paste the text.

Up to 5 MB per file · One file at a time

How to use TTML to SRT

Add a .ttml, .dfxp or .xml caption file, or paste its contents. Each timed paragraph becomes an SRT cue, and begin times from parent elements are added. Frame and tick times use the rates declared in the file. Line breaks are kept; regions, positions and styles are removed with a notice.

Processed in your browser. Up to 5 MB and 20,000 cues; merged inputs share the same combined limit. Output is UTF-8.

Useful answers

What is the difference between TTML and DFXP?

DFXP is the earlier name of the W3C TTML format, and many streaming services still use the .dfxp extension. Both are read the same way.

Will positions and colors be kept?

No. SRT has no regions or styling, so those are removed with a notice. The words, line breaks and times stay.

Why is my file rejected?

Files that declare a DOCTYPE are rejected for safety. Remove the DOCTYPE line and try again. Other errors show the line to check.

Keep working