# Ass To Srt — REST API endpoint `ass-to-srt`

Flatten an Advanced SubStation Alpha (.ass) or SubStation Alpha (.ssa) subtitle script to plain SubRip (.srt). Reads the Dialogue lines of the [Events] section using the Format line for column order, converts H:MM:SS.cc centisecond timestamps to HH:MM:SS,mmm, strips every {\...} override block, turns \N into a line break, sorts cues by start time and renumbers them from 1. Styles, fonts, colours, positioning and drawing commands are discarded on purpose, because SubRip cannot carry them. Comment lines are ignored.

- Category: media
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/ass-to-srt/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/api/ass-to-srt/
- Same tool on the other surface: https://findutils.com/mcp/ass-to-srt/

## Call the endpoint (verified example)

```bash
curl -X POST https://api.findutils.com/api/tools/ass-to-srt/execute \
  -H "Content-Type: application/json" \
  -d '{
    "input": "[Events]\nFormat: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text\nDialogue: 0,0:00:01.00,0:00:04.00,Default,,0,0,0,,{\\an8}Hello there.\\NSecond row.\n"
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/ass-to-srt
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `input` | string | yes | The .ass or .ssa file contents. |
| `keep_empty` | boolean | no | Keep cues whose text is empty once override tags are removed. Default: false, which drops them. Default: `false`. |

Example arguments (verified):

```json
{
  "input": "[Events]\nFormat: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text\nDialogue: 0,0:00:01.00,0:00:04.00,Default,,0,0,0,,{\\an8}Hello there.\\NSecond row.\n"
}
```

OpenAPI 3.1 spec: https://findutils.com/api/openapi.json · Interactive docs: https://findutils.com/api/docs/

## Also an MCP tool

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Then ask the client to call `findutils:ass_to_srt`. Full MCP reference: https://findutils.com/mcp/ass-to-srt/

---
Full catalog: GET https://api.findutils.com/api/tools · https://findutils.com/api/ · https://findutils.com/llms.txt
