Practical · .SRT Subtitles, Support-Ticket CSV & News .TXT Batch Translator · Apache-2.0

Local Spanish Batch Workbench: Documents, CSVs & .SRT Subtitles

Paste, upload, or drag-and-drop Spanish .srt film subtitles, support-ticket .csv spreadsheets, or plain-text .txt news articles. Cue timestamps, ticket IDs, metadata columns, and paragraph breaks stay verbatim while Xenova/opus-mt-es-en (113.11 MB WASM q8, Apache-2.0) translates every Spanish line off the main thread and exports ready-to-use .srt, .txt, formula-safe RFC 4180 .csv, and .json.

1. Configure & Translate Batch (.SRT, .CSV or .TXT)

Grounded preset / format:

Drop a .srt, .csv or .txt file anywhere in this box, or use the upload button. Files are read locally — nothing is uploaded.

Items translated–
Total latency–
Throughput–
In / Out tokens–
NaN check–

2. Side-by-Side Translated Output

Batch translation results preserving timestamps, CSV IDs or paragraph numbers alongside Spanish source and English output
Cue Timestamp Spanish Source English Translation
Initialise OPUS-MT ES→EN above to translate the batch.

3. Inspect Parser, Formula-Safe CSV & Batch Worker

Show the code — opus-es-core.mjs parseSrt() (lossless cue & timestamp parser)
Show the code — opus-es-core.mjs segmentDocument() (paragraph → sentence units for .TXT)
Show the code — opus-es-core.mjs normalizeCsvRow() & csvCell() (ragged-safe + formula neutralization)
Show the code — worker.js translateBatch() (sequential off-thread batch with epoch guards)