# PDF & Office Tools (Tanod) > Bank statement PDF to CSV, OCR, Office to PDF, PDF to Word, any file to Markdown, merge and split. A focused part of Tanod (https://tanod.dev/llms.txt covers every family), over HTTP and MCP. > > Pay per call in USDC on Base or Polygon or Solana or BNB Chain or Arbitrum with x402, or on Tempo with MPP; no account or API key. Free tier: a small daily per-IP > pool per family; over HTTP add the header `X-Tanod-Free: 1` to an unpaid call (without it every unpaid call gets the 402); over MCP > the free tier is automatic. > Every result is automated and heuristic, not an audit: findings can be false positives, and a clean result is not proof that code or a package is free of risk. > Tanod is operated by an autonomous AI agent on behalf of its owner. Scans run automatically; no person reviews individual results. ## API - [OpenAPI spec](https://docs.tanod.dev/openapi.json): machine-readable description of this family's 40 routes. - [x402 resources](https://docs.tanod.dev/.well-known/x402) - MCP: `https://tanod.dev/mcp/docs` (server `tanod-docs`); also at `https://docs.tanod.dev/mcp` on this host ## Routes - `POST https://docs.tanod.dev/v1/docs/to-markdown` (convert_pdf_to_markdown): Use when an agent must read a Word, Excel, PowerPoint, PDF, HTML or EPUB file as Markdown text. - `POST https://docs.tanod.dev/v1/pdf/tables` (extract_tables_from_pdf): Use when an agent must pull the tables out of a PDF as JSON, CSV or XLSX for analysis. - `POST https://docs.tanod.dev/v1/pdf/bank-statement` (convert_bank_statement_to_csv): Use when an agent must turn a PDF bank statement into dated transactions for bookkeeping or import. - `POST https://docs.tanod.dev/v1/pdf/to-docx` (convert_pdf_to_word): Use when an agent must convert a PDF to Word (.docx) for editing. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/merge` (merge_pdf_files): Use when an agent must combine several PDFs into one file, optionally taking only selected pages of each. - `POST https://docs.tanod.dev/v1/pdf` (pdf_to_text): Use when an agent needs PDF to text: the text of a public PDF given only its URL. - `POST https://docs.tanod.dev/v1/ocr` (image_to_text): Use when an agent needs image to text: extract text from an image such as a scan, screenshot or photo. - `POST https://docs.tanod.dev/v1/pdf/split` (split_pdf): Use when a long PDF must be cut into separate files or page ranges before further processing. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/extract-pages` (extract_pdf_pages): Use when only certain pages of a PDF are needed as a new, smaller PDF. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/remove-pages` (remove_pdf_pages): Use when unwanted pages such as blanks or cover sheets must be deleted from a PDF. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/rotate` (rotate_pdf_pages): Use when scanned or mis-oriented PDF pages must be turned by 90, 180 or 270 degrees. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/compress` (compress_pdf): Use when a PDF is too large to email or upload and its file size must be reduced. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/to-images` (convert_pdf_to_images): Use when PDF pages must be turned into PNG or JPEG images, for example to show or send to a vision model. - `POST https://docs.tanod.dev/v1/pdf/rasterize` (flatten_pdf_to_image_only): Use when a PDF must become image-only pages, so no text layer, form, link or script survives. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/from-images` (convert_images_to_pdf): Use when a set of images, such as photographed pages, must be combined into one PDF. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/watermark` (add_watermark_to_pdf): Use when a PDF must be stamped with a text mark such as DRAFT or CONFIDENTIAL on its pages. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/page-numbers` (add_pdf_page_numbers): Use when a PDF needs page numbers added, for example after merging files. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/protect` (password_protect_pdf): Use when a PDF must be encrypted with a password and restricted permissions before sharing. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/unlock` (unlock_pdf): Use when an agent holds the password of a protected PDF and needs an unprotected copy to process. - `POST https://docs.tanod.dev/v1/pdf/metadata` (edit_pdf_metadata): Use when a PDF's title, author or other document metadata must be read, changed or removed. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/html-to-pdf` (url_to_pdf): Use when a URL or web page must be converted to a PDF document. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/ocr` (ocr_pdf): Use when a scanned PDF has no text layer and needs OCR so its text can be searched or read. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/inspect` (inspect_pdf_document): Use when an agent must learn what a PDF contains before processing it: page sizes, scan or text, forms, scripts. - `POST https://docs.tanod.dev/v1/pdf/reorder` (reorder_pdf_pages): Use when the pages of a PDF must be put in a different order. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/crop` (crop_pdf_pages): Use when margins must be trimmed from the pages of a PDF. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/resize` (resize_pdf_pages): Use when PDF pages must be scaled to a standard size such as A4 or Letter. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/outline` (read_pdf_bookmarks): Use when an agent needs the bookmark tree of a PDF to navigate its chapters by page. - `POST https://docs.tanod.dev/v1/pdf/set-outline` (write_pdf_bookmarks): Use when a PDF needs bookmarks written from a nested list of titles and pages. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/form-fields` (list_pdf_form_fields): Use when an agent must list the fillable fields of a PDF form before filling it. - `POST https://docs.tanod.dev/v1/pdf/fill-form` (fill_pdf_form): Use when a PDF form must be filled from JSON values, with an option to flatten it afterwards. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/flatten` (flatten_pdf_forms): Use when form fields and annotations of a PDF must be burned into the page so they can no longer be edited. - `POST https://docs.tanod.dev/v1/pdf/repair` (repair_damaged_pdf): Use when a PDF will not open or parse and needs to be rebuilt from its damaged file. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/pdf/attachments` (manage_pdf_attachments): Use when files embedded in a PDF must be listed or extracted, or a file must be attached to it. - `POST https://docs.tanod.dev/v1/pdf/pipeline` (run_pdf_pipeline): Use when several PDF edits (up to 10) should run in sequence on one file in a single call. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/docs/to-pdf` (convert_word_to_pdf): Use when a Word, Excel, PowerPoint, OpenDocument or RTF file must be delivered as a PDF. Add output=url for a 24 h link. - `POST https://docs.tanod.dev/v1/docs/fill-template` (fill_docx_template_with_json_data): Use when an agent must fill a Word template's {{placeholders}} with data and return a DOCX or PDF. - `POST https://docs.tanod.dev/v1/docs/pptx-build` (build_pptx_from_json_slides): Use when an agent must generate a PowerPoint (.pptx) deck from JSON slides (titles, bullets, notes). - `POST https://docs.tanod.dev/v1/docs/xlsx-to-json` (convert_excel_xlsx_to_json_or_csv): Use when an agent must read an Excel (.xlsx) workbook into JSON rows or formula-guarded CSV. - `POST https://docs.tanod.dev/v1/docs/xlsx-build` (build_xlsx_workbook_from_json): Use when an agent must produce an Excel workbook (.xlsx) from JSON data: typed columns, styled header, several sheets. - `POST https://docs.tanod.dev/v1/docs/compare` (compare_documents_diff_redline): Use when an agent must find what changed between two contract or report versions (PDF or DOCX), with a redline.