DFXP to SRT Converter
To convert DFXP to SRT, drop your .dfxp file on this page and download the SRT file: SubtitleFixer reads the timed text, turns each paragraph into a numbered subtitle with the same timings, and does it in your browser without uploading anything.
Free DFXP to SRT conversion that runs in your browser: your files never leave your device, and there is no sign-up. This is the same converter as TTML to SRT.
How to convert DFXP to SRT in 3 steps
- Add your DFXP files. Drag one or more .dfxp files onto the page, or click to choose them.
- Pick the output. SRT is the default; switch to VTT if you need WebVTT.
- Download. One file downloads as it is; several files download together as one zip.
Example: before and after
Before (DFXP):
<tt xmlns="http://www.w3.org/2006/10/ttaf1" xmlns:tts="http://www.w3.org/2006/10/ttaf1#styling">
<body>
<div>
<p begin="00:00:01.200" end="00:00:03.800">Hi, and welcome back.</p>
<p begin="00:00:04.100" end="00:00:07.450">Today we're<br/><span tts:fontStyle="italic">fixing</span> subtitles.</p>
</div>
</body>
</tt>
After (SRT):
1
00:00:01,200 --> 00:00:03,800
Hi, and welcome back.
2
00:00:04,100 --> 00:00:07,450
Today we're
<i>fixing</i> subtitles.
Each <p> became a subtitle, <br/> became a new line, and the italic span became <i>.
What it can and can't do
It can:
- Convert DFXP (.dfxp) and other TTML-based XML files to SRT or VTT.
- Read clock times, frames and ticks, and keep timings to the millisecond.
- Keep line breaks, italic, bold and underline.
- Read older encodings and save as UTF-8, with an optional BOM.
- Convert many files at once and give you one zip.
It can't:
- Keep positions, regions, colours or fonts. SRT has no place for them.
- Convert image-based subtitles inside a DFXP file.
- Download subtitles from a streaming site. You need the file on your device.
- Fix subtitles that are out of sync. Use Shift subtitles.
Where DFXP files come from
DFXP is the original name of the W3C Timed Text format. You'll find .dfxp files from older Flash-based video players, from captioning software, and from some streaming services that deliver subtitles as Timed Text. If your file is called .ttml or .xml instead, use TTML to SRT or XML to SRT.