Compare any two text files and get a detailed similarity score using three algorithms. Zero dependencies.
Counts the minimum character edits needed to transform one string into another. Best for short texts and code.
Character-levelCompares unique word sets. Score = intersection / union. Best for keyword overlap and topic similarity.
Token-levelBuilds term-frequency vectors and measures the angle between them. Best for longer documents and essays.
Vector-levelVerdict: Highly similar
| Flag | Default | Description |
|---|---|---|
--algo | all | levenshtein, jaccard, cosine, or all |
--json | off | Output results as JSON |
--no-color | off | Disable ANSI color output |
--threshold N | none | Exit code 1 if average score is below N% |
--version | Print version and exit |