Convert SRT to JSONL
Turn SRT files into JSONL. One JSON object per line for each cue: its number, start and end as clock times and milliseconds, and its text without styling tags.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop SRT files on the dialor turn it to pick what to do
Subtitle cues as data, one per line.Each cue in the SRT becomes one JSON object on its own line of a JSONL file.
What you get
One JSONL file with one line for every cue in the SRT. Each line is a JSON object that holds the cue number, the start and end as clock times and as milliseconds, and the text.
The text comes without styling tags, so what you read in the object is the words of the cue.
What each line holds
The number is the cue's number from the SRT. The start and end each appear twice: once as a clock time and once in milliseconds. Use the clock time to read a cue and the milliseconds to sort or calculate.
Because JSONL puts one object on each line, you can read the file a line at a time. It is the format of logs and datasets, so it fits tools that expect that shape.
What it leaves behind
Styling tags in the cue text are removed. The words stay, and the markup around them does not.
SRT and JSONL.What each format is.
The formats
SubRip Subtitle
SubRip subtitles. Numbered cues with start and end times, the most common subtitle file.
- Extensions
- .srt
- MIME type
- application
/x -subrip - Kind
- Text and data
JSON Lines
JSON Lines, one JSON object per line, the format of logs and datasets.
- Extensions
- .jsonl .ndjson
- MIME type
- application
/jsonl - Kind
- Text and data
In your code.The same SRT to JSONL conversion through the API, for your app or your agent.
$ cv convert report.srt report.jsonl$ cv convert report.srt report.jsonlQuestions.What people ask about SRT to JSONL.
Yes. Each cue becomes one JSON object on its own line.
Both forms are written. Each cue has its start and end as clock times and as milliseconds.
No. The text is written without styling tags.
No. This conversion has no options, and the result is one file.