Processed online by Toolvito
Knowledge Base Deduplicator
Clean a knowledge base, FAQ list or training set: exact copies and entries that say the same thing in other words are found, and a clean file in the same format is made, with a report of every group.
How to remove duplicates
- Choose one file (CSV, TSV, Excel, JSON, JSON Lines or text), or paste entries one per line.
- For a table, choose the column to compare (for example “question”), or let the column with the longest texts be found.
- Set how similar two entries must be to count as duplicates (cosine similarity 0.70–0.999; 0.92 is a careful start).
- Press Find duplicates and download the clean file and the groups report.
How duplicates are found
- Exact copies: the same words after case, spaces and punctuation are ignored. Always found, without a model.
- Near-duplicates: each entry is turned into a meaning vector with all-MiniLM-L6-v2 (English) or the multilingual MiniLM (50+ languages) on the Toolvito server. An entry is removed when its similarity to a kept entry is at or above your threshold.
- Each group is built around one kept entry, so a chain of slightly different entries is not merged into one.
- Keep the first entry of each group, or the longest one.
What you get
- The clean file in the same format: CSV and Excel keep their columns, JSON keeps its structure, JSON Lines and text keep one entry per line. The kept entries stay in their original order.
- A groups report (CSV): which entry was kept, which were removed, their similarity and whether they were exact or near copies.
Good to know
- Entries that say the opposite with the same words (“is free” and “is not free”) can look very similar. Check the report before you delete anything for good.
- Long entries are compared by their start (256 tokens for English, 128 for multilingual).
- Up to 20,000 entries. To find duplicate questions only, see the AI Duplicate Question Finder.