Text Similarity — This tool uses a local sentence-embedding model loaded into your browser on first use. It maps each text to a vector; the similarity score is the cosine similarity between the two vectors.
Runs entirely on your device. The model is downloaded once to your browser cache, then runs offline. Nothing is sent to a server.
Was Text Similarity useful?
Text Similarity是什么?
This tool uses a local sentence-embedding model loaded into your browser on first use. It maps each text to a vector; the similarity score is the cosine similarity between the two vectors.
Unlike a string-similarity check (which only sees literal characters), this tool sees meaning. "I love this product" and "This is amazing" score 0.7+; "I love this product" and "I hate everything" score 0.1 or lower. Inference runs in your browser; the model weights are cached after the first download.
使用方法
-
Paste both texts
One per side. They can be any length — sentence, paragraph, or short article.
-
Click Compare
The first run downloads the model. After that it is cached and runs in a fraction of a second.
-
Read the verdict
A score from 0 to 1 plus a label: near-duplicate (≥0.95), similar (≥0.7), related (≥0.4), or unrelated (<0.4).
示例
Two paraphrases
Same idea in different words.
A: "I love this product, it works great." / B: "This item is fantastic and functions perfectly."
结果: 0.78 — similar. The two sentences say the same thing in different words.
Two unrelated topics
Different subjects entirely.
A: "I love this product, it works great." / B: "The train arrives at noon."
结果: 0.04 — unrelated. The two sentences have no shared meaning.
常见问题
相关指南
相关工具
Text Summarizer
Summarize long articles, blog posts, reports, or emails — entirely in your browser. Nothing is uploaded. The model runs locally on your device.
Sentiment Analyzer
Detect the sentiment of any text — positive, negative, or neutral — using a local model. Perfect for content review, social posts, or feedback triage. Nothing is uploaded.
字数统计器
统计任何文本中的单词、字符、句子和段落数量。免费、在浏览器中运行,无需上传。
Text Diff
Compare two texts line by line and see exactly what was added, removed, or kept.
Last reviewed: 2026-09-25