Skip to content

TTML to LRC Subtitle Converter

Turn TTML cue start times and text into a simple LRC lyrics file.

Drag & drop your TTML file here

or click to browse

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

Core Engine Architecture

Free Online TTML to LRC Converter

This converter reads <p> cues from a TTML document and writes standard line-level LRC output. Each cue receives an [mm:ss.xx] start timestamp, end times are discarded, <br/> elements become physical lines, and common inline formatting tags are removed. The conversion stays in your browser.

Payload & Syntax Inspector

TTML to LRC Code Syntax & Structure Inspection

Side-by-side code inspection illustrating header definitions, timestamp syntax, and cue payload formatting

Millisecond Sync
input.ttml
TTML SOURCE
<?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>
output.lrc
LRC RESULT
[00:01.00]Hello, world!
[00:04.50]This is a subtitle file.
[00:08.50]Converted locally!
Specification Sheet

TTML vs LRC Technical Specifications

Standard Compliant
Input Format

TTML

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. Cues without a begin attribute are skipped.

Output Format

LRC

LRC

LRC is a line-timed lyrics format. This converter writes only [mm:ss.xx]text lines; it does not add metadata tags such as [ti:], [ar:], or [offset:], and it does not write end times. Cue text with multiple lines becomes untimestamped continuation lines.

Format Differences

TTML stores cues in XML <p> elements; LRC uses timestamped text lines.
TTML supports end and duration attributes; this LRC output keeps only start times.
TTML timing can include milliseconds; LRC output uses two fractional digits.
TTML styling is not mapped to LRC.

Conversion Troubleshooting & Gotchas

Practical solutions for player compatibility, character encoding, and timing synchronization

4 Common Gotchas
GOTCHA #1

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.

GOTCHA #2

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.

GOTCHA #3

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.

GOTCHA #4

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

Reads TTML <p> cues with begin/end or begin/dur timing
Writes [mm:ss.xx] LRC start timestamps
Discards TTML end times because LRC cues are line-timed
Converts <br/> elements to physical output lines
Removes common TTML inline formatting tags
Processes files locally in your browser

Why Convert?

LRC is useful when a lyrics-oriented workflow needs one start time per line.
LRC is simpler to inspect and edit than timed-text XML.
Discarding end times can be appropriate when the next timestamp defines the following line.
Plain LRC text is easy to reuse in lyric and karaoke tools that support the format.
Scenarios

Common Use Cases

Lyrics Preparation

Convert line-timed TTML material into LRC for lyrics tools that read [mm:ss.xx] timestamps.

Simplified Timing

Keep cue start times while removing end times and XML structure.

Text Reuse

Convert parsed TTML text into a simple timestamped line format for further editing.

Format Ecosystem

Related Formats

How It Works

  1. 1

    Select or drop a TTML file.

  2. 2

    The parser extracts <p> text and begin timing in document order.

  3. 3

    Millisecond timing is truncated to LRC's two fractional digits.

  4. 4

    Common inline tags are removed and line breaks are retained.

  5. 5

    Each cue starts a new [mm:ss.xx] LRC line.

Frequently Asked Questions

No. LRC output contains only start timestamps. TTML end and dur values are discarded after parsing.

Timestamps use two fractional digits. Additional millisecond precision from the TTML source is truncated.

Yes. There is no registration or watermark, and conversion happens in your browser.

No. It writes timestamped text lines only, without [ti:], [ar:], [offset:], or other metadata tags.

The cue starts with one [mm:ss.xx] timestamp; additional cue lines follow as untimestamped continuation lines.

No. Processing stays in your browser and the subtitle file is not uploaded.

Ready to convert your subtitles?

Drop your TTML file here and convert to LRC instantly.