> For the complete documentation index, see [llms.txt](https://docs.kognitos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kognitos.com/legacy/legacy-experience/automation-areas/summary-1/converting-a-file-to-pdf/removing-duplicates-from-a-pdf.md).

# Removing Duplicates from a PDF

Automation procedures for removing duplicates from a PDF file.

### Removing Duplicates with a Confidence Threshold

To remove duplicates from a PDF with a specified confidence threshold, use the following syntax:

```kog
get the pdf
the department's duplicate confidence threshold is 0.95
remove duplicates from the pdf
```

### Removing Duplicates without a Confidence Threshold

To remove duplicates from a PDF without specifying a confidence threshold, use the following syntax:

```kog
get the pdf
remove duplicates from the pdf
```
