# convert_from_pdf: Convert a PDF

Turn a PDF into Word (.docx), Excel or CSV (tables found on the page), images (PNG/JPEG in a ZIP), Markdown, EPUB, PDF/A (archival), LaTeX, or a grayscale PDF. For tables read by AI (scans, bank statements), use extract_data.

A tool of the [FynePDF MCP server](https://fynepdf.com/developers/docs/mcp) (`https://api.fynepdf.com/mcp`). Makes a new file; the original is kept.

## Ask for it

- "Turn this PDF into a Word file."
- "Put the tables in this report into Excel."

## Inputs

| Input | Type | Required | What it does |
|---|---|---|---|
| `file_id` | string |  | A FynePDF file_id from upload_file, import_file_from_url or an earlier tool. |
| `file` | object |  | A file the person attached in ChatGPT (filled in by ChatGPT). |
| `file_url` | string |  | A public link to the file. |
| `library_file_id` | string |  | A file from the person's FynePDF Library (from list_library_files). |
| `to` | "word" · "excel" · "csv" · "images" · "markdown" · "epub" · "pdfa" · "latex" · "grayscale" | yes |  |
| `image_format` | "png" · "jpg" |  |  |
| `dpi` | integer |  |  |

## The same over HTTP

From your own code, call [PDF to Word API](https://fynepdf.com/developers/docs/api/pdf-to-word), [PDF to Excel API](https://fynepdf.com/developers/docs/api/pdf-to-excel), [PDF to Markdown API](https://fynepdf.com/developers/docs/api/pdf-to-markdown), [PDF to image API](https://fynepdf.com/developers/docs/api/pdf-to-images), [PDF/A conversion API](https://fynepdf.com/developers/docs/api/to-pdfa).

## Connect it

[Claude](https://fynepdf.com/developers/docs/mcp/claude) · [ChatGPT](https://fynepdf.com/developers/docs/mcp/chatgpt) · [Cursor](https://fynepdf.com/developers/docs/mcp/cursor) · [VS Code](https://fynepdf.com/developers/docs/mcp/vscode) · [Claude Code](https://fynepdf.com/developers/docs/mcp/claude-code)


---

Open this page in a browser: https://fynepdf.com/developers/docs/mcp/tools/convert_from_pdf

More: [All tools](https://fynepdf.com/tools) · [AI agents](https://fynepdf.com/ai/agents) · [llms.txt](https://fynepdf.com/llms.txt) · [Sitemap](https://fynepdf.com/sitemap.xml)
