SRT & VTT Subtitle Cleaner

Upload a messy SRT or VTT file and remove HTML tags, ASS/SSA styling, VTT metadata and empty lines without changing the timestamps.

Drop your messy .srt or .vtt file here

Your subtitles are cleaned locally in your browser. No upload required.

Why clean subtitle files?

Messy subtitles with HTML formatting, font colors, ASS/SSA styling or WebVTT metadata can cause problems in video players, social-media uploads and editing software. The SRT & VTT Cleaner strips distracting code and creates a clean, compatible subtitle file.

How the Subtitle Cleaner works

Upload an SRT or VTT file, choose the cleanup options you need and download the cleaned version. Everything runs locally in your browser. Your file is not uploaded to a server.

Before and after: messy subtitles cleaned

Typical broken SRT files contain HTML tags, font colors, italic or bold formatting and non-breaking spaces. The Cleaner removes visible clutter while leaving numbering and timestamps untouched.

Before

1
00:00:02,000 --> 00:00:05,000
<font color="#ffff00"><i>Hello&nbsp;world</i></font>

2
00:00:05,500 --> 00:00:08,000
<b>This line still has tags.</b>

After

1
00:00:02,000 --> 00:00:05,000
Hello world

2
00:00:05,500 --> 00:00:08,000
This line still has tags.

Remove ASS/SSA tags from SRT files

Some subtitle files contain ASS or SSA styling even though they are saved as SRT. These tags control position, alignment, color or animations. Many platforms display them as plain text or reject the file.

{\an8}Show text at the top
{\pos(640,80)}Positioned subtitle line
{\c&H00FFFF&}Colored subtitle text

When the ASS/SSA option is enabled, the Cleaner removes these curly-brace styling tags from the visible subtitle text. The timestamps stay unchanged.

Clean WebVTT NOTE, STYLE and REGION blocks

WebVTT files can contain extra metadata that is useful in browsers but distracting in plain subtitle workflows. The Cleaner can remove NOTE comments, STYLE CSS blocks and REGION definitions without deleting the actual cue times or subtitle text.

WEBVTT

NOTE exported from a web player

STYLE
::cue { color: yellow; }

REGION
id:bottom
lines:3

00:00:01.000 --> 00:00:04.000 line:90% position:50%
<c.yellow>Hello from WebVTT</c>

What gets removed and what stays?

Element Action Result
<font>, <i>, <b> Removed when HTML cleanup is enabled Only the readable subtitle text remains
&nbsp;, &amp;, &quot; Decoded or normalized Cleaner spaces and normal characters
{\an8}, {\pos(...)}, {\c&H...&} Removed when ASS/SSA cleanup is enabled Position, color and alignment styling is stripped
VTT NOTE, STYLE, REGION Can be removed from WebVTT files Cue times and subtitle text remain usable
Subtitle timing Kept unchanged Start and end times are not shifted
Important: styling is removed, timing stays
This tool deliberately creates a clean, compatible subtitle file. Font color, positioning, italic/bold formatting and VTT metadata can be removed. Timing lines stay unchanged.

How our Cleaner works locally

Privacy comes first. The entire cleanup process runs through JavaScript in your browser. Your SRT or VTT files never leave your device, which means no upload wait time and no risk of subtitle data being exposed.

Remove empty blocks and broken formatting

Besides styling tags, the Cleaner also detects empty subtitle blocks: blocks that contain timestamps but no visible text. Such blocks can confuse players and editing tools and can optionally be removed completely.

After cleaning: validate the file

Cleaning removes visible styling code, but it does not check every structural SRT problem. If your file still has broken numbering, overlapping timestamps or empty blocks, run it through the SRT Validator afterwards.

Open SRT Validator


How to clean subtitle files

1

Upload subtitles

Drag your .srt or .vtt file into the Cleaner or choose it from your device.

2

Choose cleanup options

Select whether HTML tags, ASS/SSA styles, HTML entities, empty blocks or VTT metadata should be removed.

3

Clean & download

Click “Clean subtitles” and download your clean SRT or VTT file.

Frequently asked questions

Which formats can this tool clean?

It supports SubRip (.srt) and WebVTT (.vtt), the most common subtitle formats.

Will the timestamps of my subtitles be changed?

No. The Cleaner only removes formatting tags, entities, empty blocks or VTT metadata. Start and end times remain unchanged.

Can I remove ASS/SSA styling such as {\an8} or {\pos(...)}?

Yes. The ASS/SSA option removes curly-brace styling tags such as {\an8}, {\pos(640,80)} or color tags from the visible subtitle text.

Is my privacy protected when using this tool?

Yes. The cleanup runs locally in your browser. Your file is not uploaded and is not stored on our servers.

What happens to italic or bold text?

When HTML cleanup is enabled, tags such as <i>, <b>, <u> or <font> are removed. The actual text stays in place.

Can the Cleaner remove VTT NOTE, STYLE and REGION blocks?

Yes. For WebVTT files, NOTE, STYLE and REGION blocks can be removed optionally. The actual cue timestamps and subtitle texts are kept.

Should I check the file again after cleaning?

Yes, especially with old or automatically generated files. After cleaning, validation helps find broken numbering, overlapping timestamps or empty blocks.