---
title: "Nutrient PDF-to-Markdown CLI guide"
canonical_url: "https://www.nutrient.io/guides/dws-pdf-to-markdown/"
md_url: "https://www.nutrient.io/guides/dws-pdf-to-markdown.md"
last_updated: "2026-10-27T00:00:00.000Z"
description: "Convert PDFs to Markdown or text on your computer with the PDF-to-Markdown CLI."
---

# PDF to Markdown

Use the PDF-to-Markdown command-line interface (CLI) to convert PDFs to Markdown or plain text on your computer.

Choose a conversion mode based on your document:

- Use Standard for text-based PDFs.

- Use Vision for scans, handwriting, formulas, and complex layouts.

For supported platforms, pricing, and signup, refer to the CLI [overview and pricing](https://www.nutrient.io/api/pdf-to-markdown-cli/) page.

To convert PDFs through a hosted API, refer to the PDF-to-Markdown API [overview](https://www.nutrient.io/api/pdf-to-md-api/) page.

The CLI keeps your documents on your computer. It reports usage details, such as conversion mode and page count, but doesn’t send filenames, file paths, document contents, or output.

## Choose a command

Select a command to convert documents, search extracted text, or sign in:

**pdf-to-markdown**

Create Markdown with headings, lists, tables, and reading order.

[Read more](https://www.nutrient.io/guides/dws-pdf-to-markdown/getting-started.md)

**pdf-to-text**

Create plain text while preserving columns and spacing.

[Read more](https://www.nutrient.io/guides/dws-pdf-to-markdown/cli-reference.md)

**query**

Search an extracted file and return relevant passages.

[Read more](https://www.nutrient.io/guides/dws-pdf-to-markdown/cli-reference.md)

**nutrient auth**

Sign in, check your plan, or sign out.

[Read more](https://www.nutrient.io/guides/dws-pdf-to-markdown/cli-reference.md)

## Standard and Vision

Standard conversion is free, requires no account, and doesn’t use Vision pages. Standard works offline unless you use an API key. For details, refer to the [work offline](https://www.nutrient.io/guides/dws-pdf-to-markdown/getting-started.md#work-offline) section of the getting started guide.

Vision handles scanned pages, handwriting, formulas, and complex tables. Each input page uses one Vision page from your monthly allowance. Failed conversions don’t use Vision pages.

For Vision, sign in with a Nutrient account, API key, or Nutrient CLI license key.

The `query` command is free.

**Get started**

Install the CLI and convert your first PDF.

[Read more](https://www.nutrient.io/guides/dws-pdf-to-markdown/getting-started.md)

**Compare plans**

Compare monthly Vision allowances and prices.

[Read more](https://www.nutrient.io/api/pricing/pdf-to-markdown/)
---

## Related pages

- [CLI reference](/guides/dws-pdf-to-markdown/cli-reference.md)
- [Get started](/guides/dws-pdf-to-markdown/getting-started.md)

