Skip to content
November 5, 2007 / dranaxum

Sub to Srt Converter

This software will help you convert from .sub file to .srt subtitle file. .SRT files are “readable” for DivX Player. I needed yesterday a .srt subtitle for a movie but I could only find .sub files. [PS: I don't have BS Player] This is why I decided to write this miniconverter.

It is written in c# with .net 2.0. You can view the source-code here: Sub to Srt Converter Source code (if it doesn’t work try downloading it from here: http://rapidshare.com/files/67641688/Sub_To_Srt_Converter.pdf.html)or download the software here: http://rapidshare.com/files/67637436/subtosrt.exe.html

You will need .net 2.0 to run it so if you don’t have it you can download it from here .

Size of program: 24KB.

PS: Be careful which .sub files you want to convert because some may be invalid or corrupt.

About these ads

65 Comments

Leave a Comment
  1. Jenny / Dec 11 2007 11:11 am

    hey i came across ur site
    i have this .sub file and i tried but i failed to convert it to .srt
    is there any way that you can convert it for me?
    i left my email address there so if it’s possible can u email me please? thanks a lot!

  2. Dumy / Jan 9 2008 4:20 am

    Great software, A+

    Worked just fine, thank you very much!

  3. dranaxum / Jan 9 2008 10:46 am

    Thanks alot. Heh it was really easy to create. It took me about half an hour but i realised that would become in-handy for many of the PC users :)

  4. junkie / Jan 28 2008 2:18 pm

    Tries but failed :(.

  5. dranaxum / Jan 28 2008 2:23 pm

    Please send me feedback about “the error” also please check if you have a valid .sub file (many .sub files on the net are not valid ones but other subtitle file types).
    I’ve had many .sub files that were really .srt valid files or vice versa.

  6. xa / Feb 18 2008 9:48 pm

    I get an error too. It creates the .srt file but it’s 0kb.

  7. dranaxum / Feb 18 2008 9:51 pm

    Can you specify the error? This way I can know what’s going wrong, if there is a problem with the .sub file (maybe is not a valid .sub) or maybe you’ve found a bug.

  8. biancorossi / Feb 22 2008 11:44 pm

    If i change the framerate i get Error! Does it work only with 25 frames/second? I have tried with 23.976 and it failed.

  9. dranaxum / Feb 23 2008 10:13 am

    Ok, finally some bug feedback!! I’ll look in to it :)

  10. dranaxum / Feb 25 2008 5:28 pm

    I’ve looked into it and the problem is not from the program but from the .sub files. Be careful many .sub files on the Internet are incorrect or invalid.

    (post updated)

  11. JasW / Feb 27 2008 5:08 pm

    Had the same problem on valid .sub file – I am using Vista and maybe it does not work under this system.

  12. dranaxum / Feb 27 2008 8:12 pm

    Hmmm no, it’s not because of the OS because I used .NET Framework. Please send me the .sub file at alexpaunoiu [at] gmail [dot] com and I’ll test it to see what is going wrong.

  13. Rooster / Mar 20 2008 9:33 am

    It worked just fine for me. Thanks Big

  14. omyakh / Apr 4 2008 7:54 pm

    freaking brilliant u have helped me a lot

  15. KillPhilVol1 / Apr 28 2008 2:35 am

    I to have had errors while trying to convert. I watched the movie on my computer and the subtitles were fine so Im not sure why it wont convert at any framerate.

  16. dranaxum / Apr 28 2008 7:56 am

    Well you can watch a movie even though you could have a corrupt subtitle because movie players are designed to skip the corrupted lines in the subtitle file. I don’t skip them so maybe I will make a new version of it which will include this feature.

  17. Kinki / Jun 2 2008 4:23 pm

    This program is excelent. I’m glad with you my friend. WOW… Very useful and very easy … Great!!!! tanks a lot!!!!!

  18. Ronny / Jun 17 2008 9:46 pm

    hehehehehe sorry… I could not download… I can’t see the cats in rapidshare… Is the file in other location?

    Thank you very much!!!

  19. al1en / Jun 22 2008 3:56 pm

    Another bug i think, i have .sub something like this:

    {473}{551}Line 1…
    {8604}{8721}Line 2…
    {8739}{8813}Line 3…
    {8868}{8931}Line 4…

    And the .srt output I got is wrong:

    1
    00:00:00,000 –> 00:00:00,000
    Line 1…

    2
    00:00:00,000 –> 00:00:00,000
    Line 2…

    3
    00:00:00,000 –> 00:00:00,000
    Line 3…
    4
    00:00:00,000 –> 00:00:00,000
    Line 4…

    Just look the time in the output ;)
    Can u mail me when u fix it??

  20. dranaxum / Jun 22 2008 3:58 pm

    I will check it.

  21. robby / Jun 24 2008 10:59 pm

    Might help! ronny try taking the .HTML off the end of the rapidshare download. Worked for me

  22. Garry / Jun 27 2008 6:08 am

    this is wonderful. thank you very much

  23. Psy / Jul 20 2008 6:47 pm

    Works like a charm! Thanks a lot mate :)

  24. Geo / Jul 23 2008 4:56 am

    Works great! Just be sure to enter the correct frame rate of the avi file (in Windows Explorer right click on the file name, then Properties, then Summary).
    Thanks.
    (Multumiri multe :)

  25. thinbegin / Aug 5 2008 5:51 pm

    so, have you had any luck with the framerate thing? i tried to convert a sub file at 23fps and got “Status: Error!” :( much sadness

  26. mt / Aug 17 2008 3:38 pm

    I have tried numerous .sub files & not one has successfully converted to srt, I have Netframework 2.O. installed. All I get is Status: Error, & an empty srt file is produced.

  27. dragan / Nov 4 2008 12:04 am

    works good thank you some much…

  28. heinzy / Nov 10 2008 5:31 pm

    sme issues as the others have, when the framerate is changed. that the .sub file would be corrupt is nonsense. for those who are stuck with this util, try Subtitle Workshop 2.51 from URUWorks.

    http://www.urusoft.net/products.php?lang=1

    peace out

  29. dranaxum / Jan 1 2009 3:00 am

    I think I found the problem. There are two types of .sub files: text and image based. I don’t promise anything regarding to update this program in order to support image based subtitles.

  30. tygrin / Jan 3 2009 7:36 am

    i think u need to include an OCR in it to support image based subtitles

  31. tygrin / Jan 3 2009 7:47 am

    can we download the prog from another site because from rapidshare is difficult

    thx

  32. Ashkan / Jan 7 2009 10:00 am

    brilliant , it worked. u know there is 2 kind of sub files, *.sub and *.sub\idx . ur program is working on sub format.
    the good news is it worked on any language. plz try to make it on sub/idx format . I had upload both kind of them . look at http://rapidshare.com/files/180645092/sub_files.zip.html .they are on farsi language , dont care of it.
    thx

  33. Ashkan / Jan 7 2009 10:03 am

    i just forgot :-) … Merry Christmas

  34. Lucian / Jan 7 2009 7:24 pm

    Small issue: when a .sub file contans a line with an empty subtitle, it crashes. For example you have something like
    {33453}{33560}
    Then, the Converts() method is failing because the Substring() method of the string type expects that the position from where to extract the string to be valid. So, i added a small check:
    while (!g.EndOfStream)
    {
    tmp = g.ReadLine();
    v = tmp.Split(‘{‘, ‘}’);
    k++;
    double i, j;
    i = Convert.ToDouble(v[1]);
    j = Convert.ToDouble(v[3]);
    // this is the check.
    if (v.Length != 5)
    continue;
    [...]
    }

    And it worked perfectly. Thanks!

  35. dranaxum / Jan 7 2009 7:29 pm

    Thank you for this feedback!

  36. GaBBa / Jan 15 2009 3:26 pm

    for all – try to change the value of framerate from 25.000 to only 25……..muhahahahaha

    • roussos / Mar 18 2011 12:31 am

      GaBBa thank you! Valid – Great – Amazing small but most important info! Thanx!

  37. Steve / Jan 23 2009 4:42 pm

    Thank you! Flawless. I’m quite hard of hearing and this made my movie watchable.

  38. wallace / Jan 29 2009 5:58 pm

    Hi!!!

    I can’t download from repidshare site, anyway I can get that SubtoSrt software….
    regards

  39. Alonzo / Feb 27 2009 10:59 pm

    Thank you man, your program works like a charm. I can’t thank you enough. Peace.

  40. montino / Apr 10 2009 6:12 am

    GaBBa saved my day. Thanks

  41. heere / May 14 2009 4:15 pm

    I have tried .sub files & not successfully converted to srt, I have Netframework 2.O. installed. All I get is Status: Error, & an empty srt file is produced.

  42. Doniani / May 31 2009 8:36 pm

    Thank´s man you are great… !!!!

  43. john / Jun 18 2009 4:57 am

    Why would i need a software to convert a sub. file to srt. when i can simply open the sub. file with wordpad then save it as srt.? Simple but inteligent. Don’t try to complicate your work when you can make it easier.

  44. Czy / Jun 28 2009 9:33 am

    works great! thanks!

  45. Joseph / Aug 10 2009 2:32 pm

    Worked Fine. Thanks

  46. Sancho / Aug 24 2009 2:15 pm

    Great software !! Thank you so much :D

  47. sakis / Sep 18 2009 9:28 am

    thank you very much mate. it”s worked .

  48. raoof / Sep 19 2009 8:55 pm

    great job

  49. retrocon / Sep 26 2009 2:48 pm

    So maybe you have smth for sub/idx file type? Because all files I try to convert perhaps are of this type, and converting ends with error message. Please send to my pm if anything exists for sub/idx

  50. sly / Oct 13 2009 3:14 am

    aargh..all my subs have idx/sub…so none of them works.. :(

  51. retrocon / Oct 13 2009 8:02 pm

    As far I found, only vobsub can help in this case. Some job and you will have your srt file.

  52. calzone / Dec 30 2009 5:37 am

    Works!
    ThanX Very Much!

  53. fedro / Feb 19 2010 12:25 am

    How can i use this thing? Please explain.

  54. andrew / Jun 4 2010 6:34 pm

    legendary! worked a charm, thanks! :)

  55. ittai / Jul 31 2010 5:00 pm

    Works excellent, thanks

  56. eddie / Aug 13 2010 6:37 am

    Thank you for this great little program! Works very well with XP. Wishing you all the best! :)

  57. Tole / Sep 19 2010 1:47 am

    There’s a free online caption format converter tool that converts between all major caption formats, including SCC, DFXP, Flash Captionate, SRT, STL, Quicktime, and SMI: http://www.3playmedia.com/resources/caption-format-converter/

  58. ahmed / Nov 4 2010 11:12 am

    i just come here just to say Thank you very much .. you are soo Great man .. :)

  59. Neelanshu Jain / Dec 30 2010 6:35 pm

    Thanks,

    Thats a great tool …!!!

  60. Adam / Jan 30 2011 11:39 pm

    Thank you very much. I have been using Subtitle edit to convert sub to srt but sometimes find it will cause the time out of sync. Thanks to Sub to Srt Converter I am able solve the issue. Many Thanks again.

  61. Grateful / Mar 16 2011 5:55 am

    Thank you very much. This program helped a lot.

  62. roussos / Mar 16 2011 6:12 pm

    I want to say that it successfully converts the subs to srt, but the subs seem to be out of sync, when the original sub file is well sync with the movie. Is there something I should be looking at?

  63. diabolo / Apr 9 2011 2:02 pm

    bug comes from decimal separator on code line (i.ToString().Split(‘.’)[0]) when parsing the part conversion time. Try to change temporary your windows regional settings using “.” dot separator instead of comma or any other character. rgds

  64. Florin Roșoga / Jun 13 2011 1:23 pm

    it converted from sub to srt, but all the lines have the starting time 000 and ending time 000. An output sample:

    “9
    00:00:00,000 –> 00:00:00,000
    Voi fi scurt.

    10
    00:00:00,000 –> 00:00:00,000
    Când eram copil
    visam la asta…

    11
    00:00:00,000 –> 00:00:00,000
    şi toţi râdeau de mine

    12
    00:00:00,000 –> 00:00:00,000
    sau strigau către mine
    “Asasinule!”…

    13
    00:00:00,000 –> 00:00:00,000
    Cere mult timp şi multe sacrificii…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: