> For the complete documentation index, see [llms.txt](https://docs.dinmo.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dinmo.io/identity-resolution/fuzzy-matching.md).

# Fuzzy matching

Fuzzy matching lets DinMo compare values that are similar but not exactly identical. It is useful for secondary attributes that can contain typos, formatting differences, or small variations.

In DinMo, fuzzy matching is part of [matching rules](/identity-resolution/profile-resolution/matching-rules.md) and should be used conservatively.

## When to use fuzzy matching

Use fuzzy matching for secondary attributes such as:

* first name
* last name
* company name
* address-like attributes

Do not use fuzzy matching as the only reason to merge records. A fuzzy criterion must be anchored by at least one exact criterion in the same rule.

## Anchored fuzzy matching

Anchored fuzzy matching means fuzzy comparison is allowed only inside a rule that also contains exact evidence.

For example:

| Rule                                           | Why it is safer                                                                |
| ---------------------------------------------- | ------------------------------------------------------------------------------ |
| Exact email + fuzzy last name                  | Email creates a strong match block, then last name tolerates small variations. |
| Exact phone + exact country + fuzzy first name | Phone and country anchor the match before name similarity is considered.       |

This is safer than comparing every name against every other name.

## Match types

DinMo supports these match types:

| Match type   | Use it for                                                  |
| ------------ | ----------------------------------------------------------- |
| Exact        | Stable identifiers that should match after standardization. |
| Fuzzy Medium | Moderate similarity on secondary values.                    |
| Fuzzy Strong | More conservative similarity on secondary values.           |

## Review fuzzy rules

After adding fuzzy criteria, review:

* rule applicability
* valid match rate
* conflict rate
* sample matched profiles
* unusually large clusters

Use [Review and monitor](/identity-resolution/profile-resolution/review-and-monitor.md) before relying on fuzzy matches downstream.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dinmo.io/identity-resolution/fuzzy-matching.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
