TTML to ASS Subtitle Converter
Extract TTML cue timing and text into an Advanced SubStation Alpha document.
Drag & drop your TTML file here
or click to browse
Supports .ttml, .itt, .xml files up to 50 MB
Free Online TTML to ASS Converter
This converter reads <p> cues from a TTML document and writes an ASS file with timing and text. Supported begin, end, and duration values are converted to ASS centiseconds, <br/> elements become line breaks, and common TTML inline tags are removed. The output uses a single default ASS style rather than mapping source styling.
TTML to ASS Code Syntax & Structure Inspection
Side-by-side code inspection illustrating header definitions, timestamp syntax, and cue payload formatting
TTML vs ASS Technical Specifications
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. It accepts second-based values such as 1.500s and clock values such as 00:00:01.500. Cues without a begin attribute are skipped.
ASS
ASS (Advanced SubStation Alpha v4+) is a text subtitle format with script information, styles, and Dialogue events. This converter creates a complete basic ASS document with one Default style, Arial 20, and a 1920x1080 play resolution. Source styling is not mapped.
Format Differences
Conversion Troubleshooting & Gotchas
Practical solutions for player compatibility, character encoding, and timing synchronization
Subtitle timing drifts or appears out of sync on media players
Video files frequently differ in framerate (e.g., 23.976 fps vs 25 fps). If the timing drifts steadily, use our Subtitle Sync tool to adjust the global offset or framerate stretch.
Characters appear as garbled symbols or question marks (Mojibake)
Legacy files saved in Windows-1252, Shift-JIS, or GBK may render incorrectly. Our exporter standardizes output to clean UTF-8. Use our Subtitle Encoding Converter if the source file is corrupted.
Overlapping captions when multiple speakers talk simultaneously
Different formats handle overlapping dialogue differently. If your target player cannot render stacked cues cleanly, open the file in our Subtitle Editor to adjust individual cue timings.
Video editing software (Premiere, DaVinci, Final Cut) rejects the file
Professional NLE software enforces strict syntax rules. Our converter eliminates malformed line breaks and non-standard tags, producing clean, standardized files.
Features
Why Convert?
Common Use Cases
Subtitle Editing
Move TTML cue text and timing into ASS for additional editing in a subtitle editor.
Restyling
Use the generated Default-style ASS document as a clean starting point for custom styling.
Timing Cleanup
Inspect converted start and end times while preserving cue text and line breaks.
Related Formats
How It Works
- 1
Select or drop a TTML file.
- 2
The parser extracts each <p> element and its timing attributes.
- 3
End time comes from end, or begin plus dur; otherwise a three-second fallback is used.
- 4
Text entities are decoded and line breaks are normalized.
- 5
Cues are written as ASS Dialogue lines using the Default style.
More Subtitle Tools
Frequently Asked Questions
No. Common inline formatting tags are removed during parsing, and the ASS output uses one Default style.
ASS timing is written to centisecond precision. Fractional milliseconds beyond that precision are truncated.
No. Processing stays in your browser and the subtitle file is not uploaded.
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.
Yes. There is no registration or watermark, and conversion happens in your browser.
They are skipped because the converter cannot determine their start time.
Related Articles
Convert YouTube JSON3 Subtitles to SRT, VTT, or LRC | AllSubConverter
Download YouTube captions as JSON3 and convert them to SRT, VTT, or LRC. Step-by-step guide covering yt-dlp, the JSON3 format, and free online conversion.
Add Pinyin & Furigana to Subtitles | AllSubConverter
Learn how to add pinyin to Chinese subtitles and furigana to Japanese subtitles. AI-powered reading aids for language learners, karaoke, and study materials.