Blog

PDFs, Markdown, and agent pipelines.

Practical guides on converting documents for LLMs — token economics, extraction pipelines, and honest tool comparisons. Also readable as Markdown, per post.

7 ways to cut LLM token costs in document-heavy pipelines

Jul 28, 2026 — Practical, ranked techniques for reducing LLM spend when your pipeline processes documents: format conversion, caching, routing, context pruning, and the arithmetic to prioritize them.

PDF to Obsidian: turn any PDF into clean Markdown notes

Jul 23, 2026 — Get a PDF into your Obsidian vault as a real Markdown note — headings, tables and all — instead of an embedded file you can't link, search, or edit. Works for Logseq and any Markdown notes app.

Convert PDF to Markdown online free: what to check before you upload

Jul 21, 2026 — Free online PDF to Markdown conversion in seconds — and the four things to verify before uploading any document to a converter: retention, watermarks, signup walls, and how it handles tables.

LangChain PDF loaders compared (and a cleaner Markdown-first recipe)

Jul 18, 2026 — PyPDFLoader, PyMuPDFLoader, PDFPlumberLoader, UnstructuredPDFLoader — what each LangChain PDF loader actually does, which to pick, and a Markdown-first pattern that chunks better than any of them.

How to parse PDFs for RAG: a practical chunking guide

Jul 16, 2026 — RAG quality is decided at parse time. How to convert PDFs to Markdown, chunk on structure instead of character counts, and avoid the three parsing mistakes that quietly poison retrieval.

pdfplumber vs PyMuPDF vs pypdf: Python PDF text extraction compared

Jul 14, 2026 — The three main Python libraries for extracting text from PDFs, compared honestly: speed, table handling, licensing, and when calling an API beats installing any of them.

Convert a bank statement PDF to Markdown or CSV

Jul 11, 2026 — Turn a bank statement PDF into clean, structured transactions — Markdown or CSV — in under a minute, without retyping and without uploading it to a sketchy site that keeps your file.

How to extract tables from a PDF (and keep them as tables)

Jul 9, 2026 — Three working ways to extract tables from a PDF — a free online tool, one curl to an API, and Python — plus why extracted tables lose their structure and how to prevent it.

How to convert a PDF to Markdown with Python, Node.js, or curl

Jul 7, 2026 — Convert any text-layer PDF to clean Markdown with one HTTP request — no API key, no library install. Working examples in curl, Python, and Node.js.

Markdown vs raw PDF for LLM context: the token math

Jul 7, 2026 — Feeding a raw PDF to an LLM costs 60–90% more tokens than converting it to Markdown first. Here's the arithmetic, why it happens, and when the conversion pays for itself.

PDF text layer vs OCR: which one does your document need?

Jul 7, 2026 — If you can select the text in a PDF viewer, the PDF has a text layer and doesn't need OCR. How to check programmatically, why the distinction matters for accuracy and cost, and how to route documents correctly.