Skip to content

TTML to STL Converter

Fast. Private. Perfect.

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

Private & Secure
Blazing Fast
Free & Unlimited
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>
STL
// Spruce Subtitle File
// Format: Start Time, End Time, Subtitle Text
 
00:00:01:00 , 00:00:04:00 , Hello, world!
00:00:04:15 , 00:00:08:00 , This is a subtitle file.
00:00:08:15 , 00:00:12:00 , Converted locally!

Drag & drop your TTML file here

or click to browse

Supports .ttml files up to any size

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 STL

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

Truly Unlimited

No file size limits. No daily limits. Completely free.

Works Everywhere

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

Free Online TTML to STL Converter

Our TTML to STL converter reads Timed Text Markup Language input and produces Spruce Subtitle output entirely in your browser. Source TTML timing (seconds (1.500s) or clock values) is converted to STL timing (SMPTE HH:MM:SS:FF frame timecodes). Styling and markup that the target format cannot represent are normalized or stripped, leaving valid, ready-to-use output. The conversion runs client-side, so your subtitle files are never uploaded to a server.

Input Format

TTML

TTML (Timed Text Markup Language) is an XML-based subtitle format standardized by the W3C and required by Netflix, Apple TV, and many broadcast workflows. Captions live in <p> elements with begin and end (or dur) attributes that express time either as seconds (1.500s) or as clock values (HH:MM:SS.mmm). The related ITT (iTunes Timed Text) format shares the same XML structure and is handled the same way.

Output Format

STL

STL (Spruce Subtitle) is a text-based subtitle format used in DVD authoring and some broadcast workflows. Entries use comma-separated start and end timecodes followed by subtitle text, with the pipe character (|) for line breaks. The output is accepted by DVD authoring tools and Spruce-based workflows.

Features

Generates a Spruce STL file with the standard comment header.
Converts source timing to SMPTE timecodes (HH:MM:SS:FF).
Uses the pipe character (|) for line breaks as the STL format expects.
Outputs comma-separated start, end, and text entries.

Why Convert?

STL is accepted by DVD authoring tools and Spruce-based broadcast workflows.
STL's comma-separated timecode-plus-text structure is simple to produce and inspect.
STL is useful when a target system expects the Spruce subtitle text format rather than SRT or VTT.
Converting to STL gives you frame-based SMPTE timecodes suitable for video production.

Format Differences

TTML and STL use different internal structures; the converter normalizes the source cues into the target layout.
TTML uses begin/end attributes in seconds or clock values; STL uses SMPTE frame timecodes HH:MM:SS:FF.
TTML may carry styling or markup; STL supports its own styling model, so unsupported formatting is mapped or dropped.

Common Use Cases

DVD Authoring

Produce STL subtitle files for DVD authoring tools that expect the Spruce format.

Broadcast Workflows

Generate STL for Spruce-based and legacy broadcast subtitle pipelines.

Frame-Accurate Timing

Output SMPTE frame-based timecodes suitable for video production systems.

Related Formats

Frequently Asked Questions

It reads a Timed Text Markup Language file, parses each cue's timing and text, normalizes the structure for Spruce Subtitle, and writes a valid .stl file. Source TTML timing (seconds (1.500s) or clock values) is converted to STL timing (SMPTE HH:MM:SS:FF frame timecodes).

Absolutely. Every conversion runs client-side in your browser. No subtitle data, file contents, or metadata is ever transmitted to a server.

TTML and STL both support styling, but their styling models differ. Styling that cannot be mapped is normalized or dropped, while dialogue text and timing are always preserved.

Yes, completely free with no sign-up, no watermarks, and no file size limits. All processing happens in your browser, so your files are never uploaded to a server.

Source TTML timing (seconds (1.500s) or clock values) is converted to STL timing (SMPTE HH:MM:SS:FF frame timecodes).

Yes. The converter is fully responsive and works in any modern mobile browser on iOS and Android.

Ready to convert your subtitles?

Drop your TTML file here and convert to STL instantly.

Related Resources