How to Edit an SRT File on Windows, Mac or Phone
Dzianis Kukareka, Founder · Updated

An SRT file is plain text, so you can edit it in any text editor: Notepad on Windows, TextEdit on a Mac in plain text mode, or a text editor app on your phone. Open the file, change the words, keep the numbers, timecodes and blank lines exactly as they are, and save it as plain text in UTF-8. For anything beyond typos, such as changing timing, splitting lines or checking the result against the video, a subtitle editor is faster and much harder to break.
What's inside an SRT file
Every subtitle in an SRT file is a block of four parts, as described in the Library of Congress format description:
| Line | Example | What it is |
|---|---|---|
| 1 | 12 | The subtitle's number, counting up from 1 |
| 2 | 00:01:04,250 --> 00:01:07,800 | Start and end time: hours:minutes:seconds,milliseconds, joined by two hyphens and a right angle bracket |
| 3 (and 4) | We moved the launch to Friday. | The subtitle text, one or two lines |
| Last | (empty) | A blank line that ends the block |
Most broken SRT files break on these details: a comma replaced by a period in the timecode, a missing blank line between blocks, or an arrow typed as a single dash. Players then skip the subtitle or refuse to load the whole file. If you need a refresher on the format itself, see our glossary entry on the SRT file and the overview of subtitle file formats.
Text editor vs subtitle editor: which to use
| Task | Text editor | Subtitle editor |
|---|---|---|
| Fix a typo or a name | Fine | Fine |
| Find and replace a word everywhere | Fine | Fine |
| Shift all subtitles earlier or later | Painful: every timecode by hand | One setting |
| Fix the timing of one line against the video | Guesswork | Play, adjust, check |
| Split or merge subtitles | Possible, but you must renumber and retime | One click |
| Check how it looks on the video | No | Yes |
How to edit an SRT file in Notepad (Windows)
Right-click the .srt file and choose Open with → Notepad. If Notepad isn't listed, choose Choose another app.
Edit only the text lines. Leave the number line, the timecode line and the blank line between blocks alone.
Use Ctrl+H to replace a word or name throughout the file.
Choose File → Save as, keep the .srt extension, set Save as type to All files, and check that Encoding is UTF-8.
Don't edit SRT files in Word or WordPad. They can save formatting or swap straight quotes for curly ones, and the file stops being plain text.
How to edit an SRT file on Mac with TextEdit
TextEdit opens files as rich text by default, which can add formatting the player won't understand.
Right-click the .srt file and choose Open With → TextEdit.
If the window shows a formatting toolbar, choose Format → Make Plain Text.
Edit the text lines and save with Cmd+S. If TextEdit offers to add .txt, keep .srt.
To change the default for every file, Apple's guide explains that you can set the plain text encoding in TextEdit's settings under Open and Save. Free code editors like BBEdit or Visual Studio Code also open SRT files as plain text without any setup.
How to edit SRT files on a phone
Phones don't come with a plain text editor that opens .srt files cleanly. You have two options:
A browser-based subtitle editor. It opens the SRT in your mobile browser, and you edit line by line. A bigger screen is easier for timing work, but text fixes are fine on a phone.
A text editor app. Any app that opens plain .txt files will work if you rename the file to .txt, edit, and rename it back to .srt. Check the extension carefully before you upload it anywhere.
How to edit SRT files online for free
Our free subtitle editor runs in your browser and doesn't upload your files. You open an SRT or VTT file, optionally add the video or audio so it plays in sync, and edit each subtitle's text, start and end time. You can split and merge lines, search the text, undo mistakes, and shift every subtitle by a set number of milliseconds. Export as SRT, VTT or TXT for free, or as an MP4 with the subtitles burned in (the free MP4 export covers the first 3 minutes with a small watermark).
If you don't have an SRT yet and need to make one from the audio, generate it first with an SRT generator, then fix the details in the editor. For heavy styling or karaoke effects, a desktop tool like Aegisub is the better choice; see our Aegisub tutorial.
How to change the timing in an SRT file
All subtitles are early or late by the same amount
This is the most common case, usually after trimming an intro or swapping in a different cut of the video. Find how far off the first subtitle is: if a line appears 2 seconds before the person speaks, the subtitles need to move 2,000 ms later. In our editor, use Shift times and enter the value in milliseconds (negative values move subtitles earlier). In Subtitle Edit, a free open-source desktop editor, use Synchronization → Adjust all times.
Subtitles start in sync and drift further off
If the first lines match and the last ones are far off, the subtitles were made for a different frame rate. Shifting won't fix it. Subtitle Edit's Change frame rate (for example from 25 to 23.976) or its point sync, where you set the correct time for one line near the start and one near the end, stretches all timings to fit.
One line is off
Change that block's timecode by hand, keeping the format 00:00:00,000. Make sure the end time comes after the start time and doesn't run into the next subtitle's start.
How to fix garbled characters in an SRT file (encoding)
If accented letters turn into things like é or ’, or Cyrillic or Greek appears as nonsense, the file is in a different character encoding from the one your player or editor expects. The SRT format has no fixed encoding, and older files are often saved in a Windows code page such as Windows-1252 rather than UTF-8.
The fix is to convert the file to UTF-8 once:
Windows: open the file in Notepad. If the text reads correctly there, choose File → Save as, set Encoding to UTF-8 and save. If it looks garbled in Notepad too, open it in Visual Studio Code, click the encoding name in the status bar, choose Reopen with Encoding and pick the right one (Windows-1252 for most Western European languages), then use Save with Encoding → UTF-8.
Mac: in TextEdit choose File → Open, select the file, click Show Options, pick the right encoding from Plain Text Encoding (try Western Windows Latin 1 for Western European languages), open it, and save it again as UTF-8.
Do this before you open the file in a browser editor: browser tools, including ours, read files as UTF-8, so a file in an older encoding will look garbled there too. UTF-8 also works in YouTube, VLC and every major editor, so it's the safe default for every SRT you save.
Common SRT editing mistakes
Changing the comma in a timecode to a period. SRT uses a comma before the milliseconds. A period is the VTT format; see SRT vs VTT.
Deleting the blank line between blocks. Two subtitles then merge into one, or the player stops reading.
Leaving gaps in numbering after deleting a subtitle. Most players tolerate it, but some strict validators don't. A subtitle editor renumbers for you.
Lines that are too long. If you add words, split the subtitle. Our guide on how long a subtitle line should be gives the usual limits.
Saving with a .txt extension. Check the file is still .srt before uploading it.
If you edit subtitles often, a dedicated editor saves real time; we compared the options in the best subtitle editing software.
Frequently asked questions
What program opens SRT files for editing?
Any plain text editor opens SRT files: Notepad on Windows, TextEdit in plain text mode on a Mac, or a code editor. For timing changes and checking subtitles against video, use a subtitle editor such as Subtitle Edit or a free browser-based editor.
Can I edit an SRT file in Word?
It's not a good idea. Word can add formatting or replace straight quotes with curly ones, and if you save it as a document instead of plain text the file won't work as subtitles.
How do I shift all subtitles in an SRT file by a few seconds?
Use a subtitle editor's shift feature instead of changing each timecode by hand. In our free subtitle editor, enter the offset in milliseconds under Shift times; in Subtitle Edit, use Synchronization → Adjust all times.
Why do my subtitles show strange symbols instead of letters?
The file is saved in a different character encoding from the one the player expects, often an older Windows code page. Open it in an editor that lets you pick the encoding, then save it again as UTF-8.
Can I edit an SRT file on my phone?
Yes. Open it in a browser-based subtitle editor, or rename it to .txt, edit it in a text editor app and rename it back to .srt before using it.
Turn your recordings into text you can use
Upload audio or video, paste a YouTube link, or record in the browser — and get a speaker-labeled transcript in minutes, in 120+ languages.
Try BlaBlaScribe for freeNo credit card required · Stored in the EU · Never used for AI training





