Skip to main content
SubtitleMatrix

CSV to MICRODVD

Or paste subtitle text

Options

Which frame rate the timings are counted in. On the format pages this is what MicroDVD needs, because it stores timing as frame numbers. On the frame rate pages it is the rate the file was timed against — the version the subtitles were made for — and the page's second box takes the rate of the video you are going to use them with. 23.976, 24, 25, 29.97, 30, 50, 59.94 and 60 are the common ones. Getting it wrong shifts the whole timeline, and on the frame rate pages it shifts it by a ratio rather than by a fixed amount.

What this conversion changes

1 thing is dropped or needs a decision

  • Frame rate

    this format stores times as frame numbers — timings depend on the frame rate you supply

This list comes from the capability matrix for these two formats, not from the particular file you loaded. A specific file may lose more if it uses features the format allows but the matrix does not model.

This page converts CSV to MICRODVD. Drop a file in — or paste the text — and you get the MICRODVD version back. The conversion runs entirely in your browser, so nothing is uploaded and no account is needed.

These two formats do not store the same things, and the difference is not cosmetic: frame rate has nowhere to go in MICRODVD. The list above comes from what the two formats can each express rather than from your file, so it is the same answer before you load anything.

One file is fine, and so is a whole season: the queue works through them in order and the results come down together as a single ZIP.

Examples

A typical CSV file, converted to MICRODVD

Input

start,end,text
00:00:01.000,00:00:03.500,The quick brown fox.
00:00:04.000,00:00:06.250,"Jumps over, the lazy dog."
00:00:07.000,00:00:09.000,"Two lines here.
And a second one."

Output

{1}{1}25
{25}{88}The quick brown fox.
{100}{156}Jumps over, the lazy dog.
{175}{225}Two lines here.|And a second one.

Dropped in this output: frame rate. Everything else matches line for line.

The same conversion on an awkward input

Input

id,start,end,note,text
1,00:00:01,000,00:00:04,000,cue one,"Hello there, friend."
2,00:00:05.000,00:00:07.000,cue two,Second line.
bad,notatime,00:00:09.000,cue three,Unreadable start.
4,00:00:10.000,00:00:09.000,cue four,End before start.
5,00:00:12.000,00:00:14.000,cue five,Unquoted comma in text, right here.

Output

{1}{1}25
{25}{100}Hello there, friend.
{125}{175}Second line.
{250}{251}End before start.
{300}{350}Unquoted comma in text, right here.

This is the kind of damage real files have — mixed line endings, stray whitespace, fields left empty. Compare it with the tidy example above to see what the parser forgives.

Frequently asked questions

Which frame rate should I set for the CSV to MICRODVD conversion?

MICRODVD stores a subtitle as a pair of frame numbers rather than as clock times — `{103}{175}` — so the frame rate is what turns the CSV timings into what the file needs: at 25 frames per second, four seconds in is frame 100. Set it to the frame rate of the video these subtitles are for; the wrong value barely shows at the start and drifts further out of step the longer the video runs.

What does the output look like when CSV becomes MICRODVD?

Like MICRODVD: no cue numbers: a pair of frame numbers in braces opens every line. Every CSV cue becomes one MICRODVD cue, in the same order, with the same text.

How does a two-line CSV cue come out in MICRODVD?

As one line with a vertical bar between the halves, which is how MicroDVD writes a line break. The pairing survives — the two CSV lines still belong to one subtitle in the MICRODVD output, and a player shows them together.

Do CSV cues keep their order in the MICRODVD output?

Yes, and they are sorted by start time on the way — earliest first, which is how every format here expects them and how players read them. If your CSV file listed its cues out of sequence, the MICRODVD output puts them back in order; that is a change to the file's structure rather than its content, and it is deliberate.

Can I convert the MICRODVD back to CSV?

Yes, and it has its own list: converting MICRODVD to CSV drops frame rate. That list is different from the one above because the two formats keep different things.

Does the MICRODVD output keep the CSV file's encoding?

No — the output is UTF-8, with Unix line endings and no byte-order mark, whatever the CSV file used. A file that arrives in UTF-16, or in a Windows single-byte encoding, is decoded on the way in (the result panel says so when that happens); what comes out is always the same UTF-8 MICRODVD.

Related tools