Subtitle to JSON Converter

Convert SRT or WebVTT subtitle cues into structured JSON. Useful for loading subtitles into a JavaScript player or processing them programmatically.

Local processing only. Conversion happens on your device.

Input subtitle

JSON output

JSON schema

Each cue becomes a JSON object with the following fields:

  • id — cue identifier as a string.
  • start — start time in milliseconds (integer).
  • end — end time in milliseconds (integer).
  • startTime — start time as HH:MM:SS.mmm.
  • endTime — end time as HH:MM:SS.mmm.
  • text — the dialogue text, exactly as in the source file.

Round-tripping

The JSON output can be loaded back into the JSON to SRT tool to rebuild an SRT file. Both numeric millisecond fields and startTime/endTime strings are read.

Related tools