Convert SRT to JSON

Turn SRT files into JSON. An array with one object per 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 a JSON array.Each cue becomes one object with its number, times and text.

  1. What you get

    One JSON file holding an array. Each cue in the SRT file is one object in that array.

    An object has the cue number, the start and end as clock times, the start and end in milliseconds, and the text of the cue.

  2. What changes

    The text comes out without styling tags. Any markup in the SRT file that styles the words is not copied, so only the plain words remain.

    Times appear twice, as clock times and as milliseconds. Use the clock times to read them and the milliseconds to calculate with them.

  3. Working with the result

    The output is a single file, so a subtitle file with many cues still gives you one array. For other conversions, see every SRT conversion or every JSON conversion.

SRT and JSON.What each format is.

The formats

From · SRT

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
To · JSON

JSON

JSON, the data format of every API.

Extensions
.json
MIME type
application/json
Kind
Text and data

In your code.The same SRT to JSON conversion through the API, for your app or your agent.

terminal
$ cv convert report.srt report.json
$ cv convert report.srt report.json

Questions.What people ask about SRT to JSON.

01OF 04

It holds the cue number, the start and end as clock times and in milliseconds, and the cue text.

No. The text is written without styling tags.

You get one file. All cues are in a single array.

No. This conversion has no options.

More conversions.Other ways in and out of SRT and JSON.