SubtitleMedic

Convert STL to SRT

Turn EBU STL broadcast subtitles, or Spruce STL from DVD Studio Pro, into SubRip for any player or editor.

Processed in your browserNo sign-up.stl

How to convert STL to SRT

  1. Open your .stl file

    Drop the subtitle file into the box above, or click to browse. EBU and Spruce files are both recognised. The .stl sample under the box is an EBU teletext file at 25 fps, starting at 10:00:00:00 like a European broadcast master.

  2. Check the start and the frame rate

    Start at 0:00 is on when the time code starts an hour or more in. For a Spruce file, check the frame rate next to the file name.

  3. Download the .srt file

    The file keeps its name and is saved as UTF-8: episode.stl becomes episode.srt.

Two formats called STL

EBU STL is the European Broadcasting Union’s Subtitling Data Exchange Format. Broadcasters, subtitling companies and archives across Europe use it to deliver subtitles for TV, and software such as Subtitle Edit, EZTitles, Spot and WinCAPS writes it. The file starts with a 1024-byte General Subtitle Information block: the frame rate, the character table, the language, the programme title and the time code where the programme starts. Then each subtitle takes a 128-byte block with its number, its in and out time codes, its vertical position and up to 112 bytes of text.

Spruce STL comes from Spruce Technologies’ DVD authoring software, which became Apple’s DVD Studio Pro. It is plain text:

$FontName = Arial
$FontSize = 32
00:00:03:03 , 00:00:05:12 , Is this seat taken?
00:00:06:00 , 00:00:08:23 , ^IOnly by my coat.^I|Sit, please.

Each line has a start and an end as hours:minutes:seconds:frames, then the text. | breaks the line, ^I, ^B and ^U switch italics, bold and underline, and lines starting with $ set fonts and alignment.

How the converter reads EBU STL

Time codes become milliseconds at the frame rate in the header: frame 12 at 25 fps is 480 ms. A subtitle at 10:00:03:03 on the tape is 3.12 seconds into the programme.

The programme starts at 0:00. The header’s “time code of start of programme”, usually 10:00:00:00, is taken off every line when Start at 0:00 is on. Subtitles before it, such as a slate, start at 0.

Accents go back on their letters. In ISO 6937 an accent comes first, as its own byte, then the letter. C2 65 is an acute accent followed by e: é.

Teletext codes are cleaned up. Teletext subtitles are full of control bytes: double height, start box, end box, a colour for each speaker. They show as spaces on a TV, so they are removed and the rows trimmed. A line break code (8A) starts a new row; two in a row, as double-height text uses, count as one.

Long subtitles are joined. A subtitle whose text needs more than one block continues in extension blocks with the same number; they are read as one subtitle.

Comments are skipped. Blocks marked as comments and user-defined blocks hold notes for the subtitler, not text for the viewer.

Tips

Subtitles drifting? If a Spruce file was made for 29.97 fps video and read at 25, the error grows with every minute. Pick the right rate next to the file name, or fix an existing .srt with Change Subtitle Frame Rate.

All a few seconds off? The video may have been cut from a longer master. Shift Subtitle Timing moves every line at once.

Check the result. The Subtitle Checker flags lines that are too long, too fast or overlapping, which is useful when teletext subtitles are reused for streaming.

Delivering to a streaming platform? Many ask for Timed Text. Convert SRT to TTML writes it from the .srt you just made.

Frequently asked questions

What is an STL subtitle file?

Two different formats share the .stl extension. EBU STL is a binary format European broadcasters use to exchange subtitles, defined by the European Broadcasting Union in 1991 (Tech 3264). Spruce STL is a text format from DVD Studio Pro, with lines like 00:00:01:00 , 00:00:03:12 , Hello. This converter reads both and tells them apart by their content.

Is this the same as a 3D printing STL file?

No. 3D models for printers also use .stl, but they hold triangles, not subtitles. If you drop one here, the tool says it found no subtitle lines.

Why do my subtitles start at 10 hours?

Broadcast tapes in Europe usually start the programme at 10:00:00:00, and EBU STL files keep that time code. The header of the file says where the programme starts. With Start at 0:00 on, every line moves back by it so the .srt matches a video file that starts at 0:00.

Which frame rate is used?

EBU STL states it in its header, usually 25 frames per second (STL25.01) or 30 (STL30.01). Spruce STL doesn’t, so 25 is assumed and marked as a guess. If the subtitles drift further out of sync as the video goes on, pick the video’s frame rate next to the file name.

Are accents and other alphabets read correctly?

Yes. Latin EBU files use the ISO 6937 table, where an accent is written before its letter; the converter puts it back on the letter, so é, ü, ł and å come out right. Files using the Cyrillic, Greek, Arabic or Hebrew tables are read with those tables. The .srt is saved as UTF-8.

What happens to colours, boxes and double height?

They are teletext display codes, and SubRip has no equivalent, so they are removed. Italics and underline are kept, and subtitles placed high on the screen are marked with {\an8}, which most players follow. Comment blocks and user data in the file are left out.

Are my files uploaded?

No. The file is read and converted by JavaScript in this browser tab and never leaves your device.