nowfound

AI · September 22, 2024

PDF to MD by LLMs – Extract Text/Tables/Image Descriptives by GPT4o

I've developed a Python API service that uses GPT-4o for OCR on PDFs. It features parallel processing and batch handling for improved performance. Not only does it convert PDF to markdown, but it also describes the images within the PDF using captions like `[Image: This picture shows 4 people waving]`. In testing with NASA's Apollo 17 flight documents, it successfully converted complex, multi-oriented pages into well-structured Markdown. The project is open-source and available on GitHub. Feedback is welcome.

PDF to MD by LLMs – Extract Text/Tables/Image Descriptives by GPT4o launched on September 22, 2024 with 191 votes, #309 of 5,281 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 2 years on.

Visit github.com ↗Alternativestop 6% of September 2024

In plain words

PDF to MD by LLMs is a Python API service that converts PDF documents into structured Markdown format using GPT-4o for optical character recognition. It extracts text, tables, and generates descriptive captions for images within PDFs. The tool handles parallel processing and batch operations for improved performance, successfully managing complex, multi-oriented pages. Designed for developers and researchers who need to digitize and restructure PDF content, it is open-source and available on GitHub.

written from the facts on this page · September 2026

From the sources

PDF to markdown using vision LLMs — tables, layouts, and structure preserved - yigitkonur/api-llm-ocr

Does a similar job

all alternatives →
  • Ocrbase – pdf → .md/.json document OCR and structured extraction APIJan 2026 · github.com · ▲99

    📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. - majcheradam/ocrbase

  • PDF2MD2024 · ▲51

    Convert your PDFs to markdown With AI OCR

  • LLM-aided OCR – Correcting Tesseract OCR errors with LLMs2024 · github.com · ▲479

    Almost exactly 1 year ago, I submitted something to HN about using Llama2 (which had just come out) to improve the output of Tesseract OCR by correcting obvious OCR errors [0]. That was exciting at the time because OpenAI's API calls were still quite expensive for GPT4, and the cost of running it on a book-length PDF would just be prohibitive. In contrast, you could run Llama2 locally on a machine with just a CPU, and it would be extremely slow, but "free" if you had a spare machine lying around. Well, it's amazing how things have changed since then. Not only have models gotten a lot better,…

  • Megaparse [LW24]2024 · megaparse.com · ▲289

    Open-source Document Parser to Markdown with OCR/LLMs

  • note.mdJun 2026 · notemd.org · ▲280

    your notes and research documentation now a local LLM Memory

  • I just open sourced my document/website extractor for Vision-LLMs2024 · github.com · ▲37

    Hi HackerNews, Lately, I have seen an explosion in posts offering paid APIs/services to get unstructured data into LLMs (i.e. langchain extract, ragflow, unstructured, unstract, just to name a few) and I have been largely disappointed by them, either because they fail to implement multimodal support, fail to give good context for "really tricky" PDFs / Word docs / Powerpoints, or are just plain difficult to use. In light of all these posts I figured I'd share my solution that has been working smoothly for me and my clients. I put it up on GitHub for free so you can check it…

More ai this month

the category →
  • Video model that turns script into viral social media videos

    AI · 18d ago · spira.ai

  • The browser where Claude Code and Codex work beside you

    AI · 18d ago · rill.love

  • Kolibri is Aleph Alpha

    AI · 20d ago · tej.as

  • Paintings by AI models: programs run through a simulation of oil paint.

    AI · 22d ago · stillwet.art

  • Beam.win▲378

    Run AI agents on one Mac and use its windows on another

    AI · 5d ago · beam.win

  • Route requests to the right LLM for cost, latency & quality

    AI · 23d ago · fastrouter.ai

Source: Show HN post ↗

Launched alongside, September 2024

the whole month →
  • Wispr Flow▲2,732

    Speak naturally, write perfectly & 3x faster in every app

    AI · 2024 · wisprflow.ai

  • Pathway▲1,335

    Get user insights 10x faster

    Work · 2024 · wynde.io

  • Personalized AI daily planning that suits your life

    AI · 2024 · beforesunset.ai

  • Osmos▲1,194

    Match with like-minded professionals for 1:1 conversations

    Growth · 2024

  • Carrot Care▲1,168

    Understand & optimise your bloodwork

    Life & fun · 2024 · carrotcare.health

  • Polar▲1,167

    An open source monetization platform for developers

    Dev tools · 2024 · polar.sh