CSV to SRT Converter
Work out SRT cues from CSV rows of start, end and text from the text in the box. Each row becomes one cue, times parsed to milliseconds and printed as HH:MM:SS,mmm, and the page prints the substitution so the result can be checked by hand.
CSV to SRT Converter
Work out SRT cues from CSV rows of start, end and text from the text in the box. Each row becomes one cue, times parsed to milliseconds and printed as HH:MM:SS,mmm, and the page prints the substitution so the result can be checked by hand.
How this page computes
Each row becomes one cue, times parsed to milliseconds and printed as HH:MM:SS,mmm
A time may be HH:MM:SS,mmm or a plain number of seconds, because both appear in exported sheets. The page parses to whole milliseconds and prints SRT's comma form.
The text column may contain commas; the row is split at the first and last comma, so the middle is kept whole.
The calculation runs entirely in this browser tab; nothing is uploaded.
CSV to SRT Converter computes SRT cues from CSV rows of start, end and text. Each row becomes one cue, times parsed to milliseconds and printed as HH:MM:SS,mmm. The page prints the rule, the numbers substituted into it and the result, so the arithmetic can be checked by hand.
A time may be HH:MM:SS,mmm or a plain number of seconds, because both appear in exported sheets. The page parses to whole milliseconds and prints SRT's comma form. Pressed with the sample text, it answers: 00:00:00,000 --> 00:00:01,500
How to use CSV to SRT Converter
Paste the input into the box, then press Run: the page evaluates SRT cues from CSV rows of start, end and text and prints every line of the working. Typed input is read exactly as written, and a blank field is refused with its name.
Read the first line as the answer and the lines below it as the substitution. If a value is out of range the page refuses it by field and reason instead of printing a number.
With the sample text, the answer is 00:00:00,000 --> 00:00:01,500.
Times in either form
A time may be HH:MM:SS,mmm or a plain number of seconds, because both appear in exported sheets. The page parses to whole milliseconds and prints SRT's comma form.
The text column may contain commas; the row is split at the first and last comma, so the middle is kept whole.
What to Expect
Best for
- Working out SRT cues from CSV rows of start, end and text without a spreadsheet
- Checking a figure someone else quoted
- Seeing the formula behind an answer
Not ideal for
- A row that is not start,end,text, or whose end precedes its start, is refused with the row number.
- A quantity the page cannot compute, which it refuses instead of estimating
- Rounding an answer that has an exact form
What this tool keeps
- Each row becomes one cue, times parsed to milliseconds and printed as HH:MM:SS,mmm
- Every input exactly as typed
What may need cleanup
- Nothing: the printed answer is the final output
- A unit conversion, if the inputs were entered in different units
Common errors
- A row that is not start,end,text, or whose end precedes its start, is refused with the row number.
- An empty field is refused with the field's name
Example use cases
- Work out SRT cues from CSV rows of start, end and text for one set of inputs
- Check the result against the formula by hand
- See which input the answer is most sensitive to
Sample input
CSV to SRT Converter: the sample text
Sample output
00:00:00,000 --> 00:00:01,500 — 1
Who this is for
- Students checking a formula
- Anyone who needs the number and the working
Frequently asked questions
What formula does this page use?
Each row becomes one cue, times parsed to milliseconds and printed as HH:MM:SS,mmm. The page prints the substitution as well, so the answer can be checked against the rule.
What does CSV to SRT Converter refuse?
A row that is not start,end,text, or whose end precedes its start, is refused with the row number.
What does the default example give?
The sample text gives 00:00:00,000 --> 00:00:01,500. Every line below that restates the same arithmetic.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.