> For the complete documentation index, see [llms.txt](https://docs.imerit.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imerit.net/plugins/first-party-ango-plugins/duplicate-detection.md).

# Duplicate Detection

## Overview

The Duplicate Detection plugin is an export plugin that scans the assets in a project and returns a CSV report of duplicated assets.

Use this plugin when you want to find assets that share the same external ID or the same asset URL.

<table data-card-size="large" data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td align="center">Duplicate Detection</td><td data-object-fit="contain"><a href="/files/Mv7LdkaX8tYlL1Mfhm1X">/files/Mv7LdkaX8tYlL1Mfhm1X</a></td></tr></tbody></table>

## Plugin Functionality

The Duplicate Detection plugin checks the assets in the project and creates a ZIP file containing a CSV report of matching duplicates.

The report includes:

* Batch
* Asset ID
* External ID
* URL

The plugin can detect duplicates in two ways:

* By **External ID**, to find assets with the same external ID.
* By **Asset URL**, to find assets that point to the same source file.

## Plugin Configuration

From the **Config JSON** field, choose which value the plugin should use for duplicate detection.

```json
{
  "duplicate_type": "external_id"
}
```

* **"duplicate\_type":** Defines which asset field should be checked for duplicates.
  * Options:
    * <kbd>"external\_id"</kbd>
    * <kbd>"asset\_url"</kbd>
  * Example:
    * <kbd>"duplicate\_type": "external\_id"</kbd>&#x20;
