Skip to content

TTML to SRT Subtitle Converter

Fast. Private. Perfect.

100% local processing in your browser. No upload. No waiting.

Private & Secure
Blazing Fast
Free & Private
TTML
<?xml version="1.0" encoding="UTF-8"?>
<tt xml:lang="en" xmlns="http://www.w3.org/ns/ttml">
<body>
<div>
<p begin="1.000s" end="4.000s">Hello, world!</p>
<p begin="4.500s" end="8.000s">This is a subtitle file.</p>
<p begin="8.500s" end="12.000s">Converted locally!</p>
</div>
</body>
</tt>
SRT
1
00:00:01,000 --> 00:00:04,000
Hello, world!
 
2
00:00:04,500 --> 00:00:08,000
This is a subtitle file.
 
3
00:00:08,500 --> 00:00:12,000
Converted locally!

Drag & drop your TTML file here

or click to browse

Supports .ttml, .itt, .xml files up to 50 MB

100% LocalNo UploadSecureInstant

How It Works

1

Upload TTML File

Drag & drop or select your .ttml file

2

Convert Instantly

We process it locally in your browser

3

Download SRT

Get your .srt file immediately

Why Choose AllSubConverter?

Your Privacy Matters

Everything runs in your browser. Your files are never uploaded.

Lightning Fast

Optimized processing engine converts files in seconds.

Free & Local

Each file can be up to 50 MB. Batches can contain up to 200 files or 1 GB total.

Works Everywhere

Works on Windows, Mac, Linux, iOS, Android - any modern browser.

Free Online TTML to SRT Converter

This converter reads <p> cues from a TTML document and writes standard SRT blocks. Supported begin, end, and duration values are converted to millisecond timestamps, <br/> elements become line breaks, XML entities are decoded, and common inline formatting tags are removed. Conversion stays in your browser.

Input Format

TTML

TTML (Timed Text Markup Language) is an XML subtitle format. This converter looks for <p> elements with begin and end, or begin and dur, timing attributes, and accepts second-based or clock-valued timing. It does not require a specific delivery profile, but unusual XML or timing syntax may not be recognized.

Output Format

SRT

SRT (SubRip) is a plain-text subtitle format with sequential cue numbers, HH:MM:SS,mmm --> HH:MM:SS,mmm timing, and one or more text lines. SRT does not preserve TTML styling, regions, or metadata.

Features

Reads TTML <p> cues with begin/end or begin/dur timing
Writes sequentially numbered SRT cues
Converts timing to SRT millisecond timestamps
Turns <br/> elements into SRT line breaks
Decodes common XML entities
Removes common inline formatting tags

Why Convert?

SRT is a simple plain-text format that is broadly supported by subtitle tools.
SRT is easier to inspect and edit than timed-text XML.
The conversion keeps cue text, line breaks, and start/end timing.
Removing XML structure can make the cue list easier to review.

Format Differences

TTML stores cues in XML <p> elements; SRT uses numbered text blocks.
TTML uses begin, end, and dur attributes; SRT uses timestamp lines.
TTML supports XML styling and metadata; SRT cue text does not carry them.
TTML <br/> elements become physical SRT text lines.

Common Use Cases

Simplified Editing

Convert TTML cues to SRT for straightforward text and timing edits in common subtitle tools.

Plain-Text Review

Inspect cue text and timing without navigating XML markup.

Format Interchange

Move supported TTML cues into SRT for workflows that expect SubRip input.

Related Formats

Frequently Asked Questions

No. Common inline formatting tags are removed and SRT does not carry TTML styling, regions, or metadata.

TTML <br/> elements become normal text line breaks in the SRT cue.

It reads basic TTML <p> cues with supported timing syntax. Delivery profiles can add structures and timing expressions that this converter does not fully support.

If end is present, it is used. Otherwise dur is added to begin. If neither is present, the converter uses a three-second fallback duration.

Common XML entities such as &amp;, &lt;, and &gt; are decoded to readable text.

No. The converter extracts recognized <p> cues in document order. Separate language tracks before conversion if your source contains multiple languages.

Ready to convert your subtitles?

Drop your TTML file here and convert to SRT instantly.