Robust LLM Extractor for HTML/Markdown in TypeScript
While working with LLMs for structured web data extraction, we saw issues with invalid JSON and broken links in the output. This led me to build a library focused on robust extraction and enrichment: - Clean HTML conversion: transforms HTML into LLM-friendly markdown with an option to extract just the main content - LLM structured output: Uses Gemini 2.5 flash or GPT-4o mini to balance accuracy and cost. Can also also use custom prompt - JSON sanitization: If the LLM structured output fails or doesn't fully match your schema, a sanitization process attempts to recover and fix the data,…
Robust LLM Extractor for HTML/Markdown in TypeScript launched on May 14, 2025 with 14 votes, #1,114 of 7,905 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 1 year on.
In plain words
Robust LLM Extractor for HTML/Markdown is a TypeScript library that extracts structured data from web pages using large language models. It converts HTML to markdown, sends it to Gemini 2.5 Flash or GPT-4o Mini for processing, and includes tools to fix malformed JSON output, validate extracted URLs, and handle relative links. The library is designed for developers who need reliable data extraction from web content with built-in error recovery for incomplete or invalid results.
written from the facts on this page · September 2026
From the sources
Use LLMs to robustly extract web data. Contribute to lightfeed/extractor development by creating an account on GitHub.
In the maker’s words, at launch
While working with LLMs for structured web data extraction, we saw issues with invalid JSON and broken links in the output. This led me to build a library focused on robust extraction and enrichment: - Clean HTML conversion: transforms HTML into LLM-friendly markdown with an option to extract just the main content…
Does a similar job
all alternatives →
Robust LLM extractor for websites in TypeScriptMar 2026 · github.com · ▲72We've been building data pipelines that scrape websites and extract structured data for a while now. If you've done this, you know the drill: you write CSS selectors, the site changes its layout, everything breaks at 2am, and you spend your morning rewriting parsers. LLMs seemed like the obvious fix — just throw the HTML at GPT and ask for JSON. Except in practice, it's more painful than that: - Raw HTML is full of nav bars, footers, and tracking junk that eats your token budget. A typical product page is 80% noise. - LLMs return malformed JSON more often than you'd expect, especially with…
Tabstack Structured ExtractionJun 2026 · tabstack.ai · ▲199Extract web data into structured JSON, no scraper required.
LLM Scraper – turn any webpage into structured data2024 · github.com · ▲88Turn any webpage into structured data using LLMs. Contribute to mishushakov/llm-scraper development by creating an account on GitHub.
Convert HTML DOM to semantic markdown for use in LLMs2024 · github.com · ▲146DOM to Semantic-Markdown for use with LLMs. Contribute to romansky/dom-to-semantic-markdown development by creating an account on GitHub.

Copy as Markdown for AI2025 · chromewebstore.google.com · ▲143Markdown conversion tool for the AI era.
More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 20d ago · stillwet.art

PixVerse R2▲381A real-time world model you can explore and change
AI · 28d ago · world.pixverse.video
Source: Show HN post ↗ · launch text quoted in part
Launched alongside, May 2025
the whole month →
Tapflow 2.0▲1,125We built Tapflow for devs, designers, PMs, and tech folks who’ve been sitting on internal docs, templates, and systems — but never productized them. Upload a PDF, notes, or workshop deck, and Tapflow drafts a structured product (with chapters, teaser and pricing plans). It’s good for AI kits, onboarding guides, design systems, and frameworks. You can sell through Stripe, LemonSqueezy, or PayPal. Real-time collaboration is in early beta. No site builder, no LMS — clean design and just focused tools to ship. Fully bootstrapped and just launched on PH today →…
Work · 2025 · tapflow.ai
- C9
Life & fun · 2025 · felixrieseberg.github.io
Appwrite Sites▲990Appwrite 2.0 brings a new engine, a rebuilt Console, five database types, an S3 API, an OAuth 2.1 server, and organization-level Domains and Firewall.
Dev tools · 2025 · appwrite.io


