Subtitle Edit is a free editor for video subtitles – a subtitle editor. The source code is freely available too 🙂
With SE you can easily adjust a subtitle if it is out of sync with the video and much more.
For a list of features see below or check out the Subtitle Edit Help page.