Cis Labs

Forced Aligner

Word-level timestamps for audio you already have a transcript for, in native scripts, from a model trained on 1,600+ languages. Get subtitles, karaoke-style highlighting and precise cut points, then use the same model in your ctc-forced-aligner or WhisperX pipeline.

Starting…
Runs entirely in your browser. Your audio never leaves this page.
Audio (up to 3 minutes)
or drop a file here · WAV, FLAC, MP3, OGG, M4A, WebM
Ctrl / ⌘ + Enter to align

Pick one or type any code, e.g. swh, kin, quy

Granularity

Characters for Chinese and Japanese

Subtitle and alignment options
SRT cues
42

Cues also break at sentence ends and pauses > 0.6 s

Examples
Timeline SRT JSON
Click any word to play from there. confident uncertain low: check the transcript
Word timestamps
#WordStart (s)End (s)Score

Use it in your pipeline

The model is a one-string drop-in: pass Cis-Labs/omniasr-ctc-300m-forced-aligner as the alignment model. Snippets follow the language and granularity selected above.

CLI

Python

How it works, accuracy and limitations
  1. Audio is decoded by your browser, resampled to 16 kHz mono and run through the CTC model in 30-second windows with 2 seconds of context on each side, so long files use constant memory.
  2. The transcript is lowercased, punctuation is set aside, and each character is looked up in the model's 10,288-character native-script vocabulary. Spaces become the word separator. Characters the model does not know are skipped and listed with the results.
  3. A Viterbi search finds the most likely path through the model's per-frame probabilities (20 ms frames), with the same recursion as torchaudio.functional.forced_align. Untranscribed audio at the start and end is absorbed, so leading silence or music does not shift the first word.
  4. Each word's span extends into the silence around it up to the midpoint, as in ctc-forced-aligner, so consecutive words share a boundary. The score is the average probability of the word's characters: words that were not spoken as written score low.

This is ctc-forced-aligner's native-script algorithm with its CLI defaults, running on ONNX Runtime Web with int8 weights (about 370 MB, downloaded once and cached). On 32 test clips in seven languages, 98.3% of word boundaries are identical to the full-precision PyTorch model and every one is within a single 20 ms frame. On LibriSpeech dev-clean against Montreal Forced Aligner references, word starts and ends are within 37 ms of the reference on average. See the model card for the full evaluation.

Limitations. Timing resolution is one 20 ms frame. The transcript must match the speech: missing or extra words get squeezed into neighbouring gaps (look for low scores). Numbers written as digits align less precisely than spelled-out numbers. Mandarin alignment is usable, but scores run lower because the model often confuses homophones. Overlapping speakers, loud music and heavy noise degrade every aligner. The page aligns up to 3 minutes per file; run the model locally for longer recordings.

Credits. Model weights from Meta's Omnilingual ASR (omniASR_CTC_300M_v2, Apache-2.0), converted to transformers by Cis Labs. Example audio: LibriSpeech (CC BY 4.0) and FLEURS (CC BY 4.0); see the Space README for sources.