工具 指南
Text 免费 无需注册

Text Similarity Calculator

Measure how similar two texts are using cosine, Jaccard, and Levenshtein metrics.

正在加载工具…

关于此工具

Paste two pieces of text and calculate three complementary similarity metrics: cosine similarity on TF-IDF word vectors (ideal for comparing documents), Jaccard similarity on word sets (measures vocabulary overlap), and Levenshtein distance at the character level (useful for near-duplicate strings). Results include a percentage score for each metric, the list of shared words, and words unique to each text — helping you decide how alike two documents truly are.

使用方法

  1. 1 Paste the first text into the left text area.
  2. 2 Paste the second text into the right text area.
  3. 3 Click Compare to compute all three similarity metrics.
  4. 4 Review the percentage scores, shared words, and unique words panels.

常见问题

{# Alpine.js — self-hosted. (The previous jsdelivr CDN tag had a stale SRI integrity hash, so the browser refused to run it and window.Alpine was never defined — silently breaking every FAQ accordion and Alpine tool.) #}