---
title: "Convert File"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/lib/convert/pandoc/convertfile
markdown: https://docs.nodetool.ai/nodes/lib/convert/pandoc/convertfile.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/lib/convert/pandoc/convertfile.md
---

# Convert File

**Type:** `lib.convert.pandoc.ConvertFile`

**Namespace:** `lib.convert.pandoc`

## Description

Converts between different document formats using pandoc.
    convert, document, format, pandoc

    Use cases:
    - Convert between various document formats (Markdown, HTML, LaTeX, etc.)
    - Generate documentation in different formats
    - Create publication-ready documents

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| input_path | `file_path` | Path to the input file | `{"type":"file_path","path":""}` |
| input_format | `enum` | Input format | `markdown` |
| output_format | `enum` | Output format | `pdf` |
| extra_args | `list[str]` | Additional pandoc arguments | `[]` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `str` |  |

## Related Nodes

Browse other nodes in the [lib.convert.pandoc](./) namespace.
