Embedding Similarity Calculator
Enter both texts above to calculate similarity
TF cosine similarity · stop words removed · runs in your browser
What is Embedding Similarity Calculator
The Embedding Similarity Calculator computes how semantically similar two pieces of text are by converting them into term-frequency vectors and measuring the cosine angle between them. A score of 100% means the texts use exactly the same vocabulary; 0% means they share no content words at all. This approach approximates what embedding models do, but runs entirely in your browser with no API key or external service required.
How to use
- Paste or type the first text into the Text A field.
- Paste or type the second text into the Text B field.
- Read the similarity score that appears instantly — 0% means no overlap, 100% means identical vocabulary.
- Review the shared terms panel to see which words both texts have in common.
- Compare the unique terms panels to understand what each text covers that the other does not.
When to use it
Worried two product descriptions read too much alike before you publish? Paste both in and you might get a 78% similarity score with the shared keywords listed out. That is enough to know one page needs a rewrite so Google does not flag them as duplicate content.
Frequently asked questions
How is this different from a real embedding model like OpenAI text-embedding-3?
Real embedding models capture semantic meaning — they know 'car' and 'automobile' are similar even though the words differ. This tool uses term-frequency overlap, so it only scores texts as similar when they share actual words. It is faster, free, and private, but less accurate for paraphrase detection.
What does the similarity score mean?
The score is the cosine similarity between two TF vectors, expressed as a percentage. Above 70% usually indicates very similar content. Between 30–70% indicates related topics. Below 30% means the texts cover different vocabulary.
Are stop words included in the calculation?
No. Common function words like 'the', 'a', 'is', 'de', 'le', 'der' are removed before calculating similarity so that only meaningful content words contribute to the score.
Is my text sent to a server?
No. All processing happens entirely in your browser using JavaScript. Nothing is transmitted or stored anywhere.
Can I use this to detect plagiarism?
It can detect obvious word-for-word overlap, but it will miss paraphrased plagiarism since it relies on exact word matching. For serious plagiarism detection, use a dedicated tool that compares against large document databases.
Can I share this tool with my inputs pre-filled?
Yes. The URL updates automatically as you type. Copy it from the address bar or use the Share button — anyone who opens the link will see your exact inputs ready to go.
Related tools
A-a Gradient Calculator
Calculate the alveolar-arterial oxygen gradient from FiO2, PaO2 and PaCO2, and compare it to the expected value for age. Free and instant.
How Old Am I? Age Calculator
Find out exactly how old you are with this free age calculator. Enter your date of birth and get your age in years, months, days, zodiac sign, and more.
Anion Gap Calculator
Calculate the serum anion gap from sodium, chloride and bicarbonate, with optional potassium and albumin correction, to screen for metabolic acidosis.