---
title: "Convert any file to PDF using OCR tools"
canonical_url: "https://www.nutrient.io/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/ocr-any-file-to-pdf-used-with-ocranyfile-or-ocranyfileex/"
md_url: "https://www.nutrient.io/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/ocr-any-file-to-pdf-used-with-ocranyfile-or-ocranyfileex.md"
last_updated: "2026-06-09T10:26:34.460Z"
description: "Discover how to use OCR tools for converting any file to PDF efficiently. Explore standard and extended parameters for optimal results."
---

# Effortlessly convert any file to PDF with OCR

## Standard

| Parameter        | Value      |
| ---------------- | ---------- |
| **`/operation`** | ocranyfile |

This uses the flags in [Standard OCR](https://www.aquaforest.com/blog/aquaforest-ocr-engine-v-extended-iris-ocr-engine) and [Any File to PDF](/guides/document-automation-server/document-conversion/topdf-bcl-easypdf.md).

## Extended

| Parameter | Value |
| **`/operation`** | **`ocranyfileex`** |

This uses the flags in sections - [Extended OCR](https://www.aquaforest.com/blog/aquaforest-ocr-engine-v-extended-iris-ocr-engine) and [Any File to PDF](/guides/document-automation-server/document-conversion/topdf-bcl-easypdf.md).

## GdPicture

There is no direct GdPicture OCR Any File to PDF. Use the GdPicture Convert Any File To PDF [convertany](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/gdpicture-steps.md#convert-any-file-to-pdf-used-with-convertany) followed by the OCR PDF to searchable PDF [ocrpdfgd](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/gdpicture-steps.md#ocr-pdf-to-searchable-pdf-used-with-ocrpdfgd) step.

---

## Related pages

- [Streamline Azure file downloads with automation](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/azure-uploaddownload--used-with-azuredownload-and-azureupload.md)
- [Document automation: Convert and redact files easily](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/examples.md)
- [Streamline PDF text extraction with ease](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/extract-text-download--used-with-extracttext.md)
- [Streamline tasks with the command-line interface](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface.md)
- [Effortlessly merge PDFs with advanced features](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/merge-pdf--used-with-mergepdf.md)
- [Efficient job control in document automation](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/general-job-options.md)
- [PDF output file settings – [used with pdfprops]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/pdf-output-file-settings--used-with-pdfprops.md)
- [[PDF to TIFF [used with pdftotiff]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/pdf-to-tiff-used-with-pdftotiff.md)
- [OCR [used with ocrimagepdf or tifftopdf/ mergetifftopdf]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/ocr-used-with-ocrimagepdf-or-tifftopdf-mergetifftopdf.md)
- [Optimize your documents with extended OCR steps](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/extended-ocr-steps.md)
- [Sharepoint settings – [used with sharepointdownload and sharepointupload]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/sharepoint-settings--used-with-sharepointdownload-and-sharepointupload.md)
- [Split parameters [used with splittiff and splitpdf operations]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/split-parameters-used-with-splittiff-and-splitpdf-operations.md)
- [Customize PDF stamping options easily](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/stamp-pdf--used-with-stamppdf.md)
- [Efficient document automation with barcode processing](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/tiffpdf-barcode--used-with-barcode.md)
- [Create XML property file – [used with getxmlpdf]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/create-xml-property-file--used-with-getxmlpdf.md)
- [PDF conversion options [used with topdf operations]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/pdf-conversion-options-used-with-topdf-operations.md)
- [Document conversion with the GdPicture CLI](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/gdpicture-steps.md)

