Skip to content

SRT to TTML Subtitle Converter

Fast. Private. Perfect.

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

Private & Secure
Blazing Fast
Free & Private
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!
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>

Drag & drop your SRT file here

or click to browse

Supports .srt files up to 50 MB

100% LocalNo UploadSecureInstant

How It Works

1

Upload SRT File

Drag & drop or select your .srt file

2

Convert Instantly

We process it locally in your browser

3

Download TTML

Get your .ttml 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.

About SRT to TTML

This converter transforms SubRip (SRT) subtitles into a basic Timed Text Markup Language (TTML) XML document. Cue timing is written as begin and end expressions in seconds, line breaks become <br/> tags, and XML special characters are escaped. Processing runs entirely in your browser.

Input Format

SRT

SRT (SubRip) is a plain-text subtitle format using sequential numbered entries with HH:MM:SS,mmm timestamps. Each cue contains a start time, an end time, and one or more lines of text.

Output Format

TTML

TTML is a W3C XML subtitle format. This converter writes a basic UTF-8 document with a <tt> root, xml:lang="en", <body>, <div>, and timed <p> elements. The broader TTML family supports styling, regions, and delivery profiles, but those profile-specific features are not generated automatically.

Features

Converts SRT millisecond timestamps to TTML begin/end expressions such as 1.500s
Writes a well-formed TTML XML document with body and div containers
Converts cue line breaks to <br/> tags
Escapes ampersand and angle bracket characters for XML safety
Keeps conversion local to your browser with no uploads
Free with no sign-up, no watermarks, and files up to 50 MB each

Why Convert?

TTML is requested by many professional streaming and broadcast workflows.
XML makes timed text easier to validate and integrate into automated pipelines.
TTML is the basis of profiles such as IMSC and ITT used for international delivery.
Basic TTML can serve as a starting point when a platform does not accept plain SRT.

Format Differences

SRT is a numbered plain-text format; TTML is an XML document with timed <p> elements.
SRT uses HH:MM:SS,mmm timestamps; this output uses TTML second expressions such as 1.500s.
SRT stores literal line breaks; this output represents them with <br/> tags.
TTML supports styling and metadata in its broader specification, but this converter writes basic timing and text only.

Common Use Cases

Professional Interchange

Move SRT content into a structured timed-text format for tools and workflows that accept TTML.

Streaming Preparation

Create basic TTML timing and text, then add the platform-specific profile metadata and validation your delivery workflow requires.

XML-Based Workflows

Use TTML when your pipeline prefers XML input over numbered plain-text subtitle cues.

Multi-Format Delivery

Keep SRT for broad compatibility and create TTML for an XML-based professional workflow.

Related Formats

Frequently Asked Questions

It creates a basic UTF-8 TTML XML document with timed <p> elements. It does not automatically generate Netflix IMSC/ITT, Apple ITV, or EBU-TT-D delivery-profile metadata.

The output uses the default TTML namespace on the <tt> element. It does not declare optional metadata, styling, or profile namespaces because the converter does not generate those features.

Yes. Ampersand and angle bracket characters are escaped so the generated XML remains parseable. Quotes do not require escaping in text nodes.

SRT HH:MM:SS,mmm timing is converted to TTML second expressions. For example, 00:01:30,500 becomes a begin value of 90.500s.

Each cue becomes one <p> element. Line breaks inside the SRT cue are represented by <br/> tags.

HTML-like tags are escaped and appear as literal text in the TTML output. They are not converted to TTML styling elements.

Ready to convert your subtitles?

Drop your SRT file here and convert to TTML instantly.