# google/langextract

> A Python library for extracting structured information from unstructured text using LLMs with precise source grounding and interactive visualization\.

Canonical: https://starboard.codevetter.com/explore/google/langextract

[Back to Discover](https://starboard.codevetter.com/discover)

![google](https://avatars.githubusercontent.com/u/1342004?v=4&s=40)

google

# langextract

[View on GitHub
](https://github.com/google/langextract)

A Python library for extracting structured information from unstructured text using LLMs with precise source grounding and interactive visualization\.

gemini
gemini\-ai
gemini\-api
gemini\-flash
gemini\-pro
information\-extration
large\-language\-models
llm
nlp
python
structured\-data


39k stars

Python

Updated 19h ago

Created Jul 8, 2025

## Star history

\+2,777 stars
7\.6% growth


## Detected tools

[OpenAI](https://starboard.codevetter.com/tools/openai)
[pytest](https://starboard.codevetter.com/tools/pytest)
[Docker](https://starboard.codevetter.com/tools/docker)
[GitHub Actions](https://starboard.codevetter.com/tools/github-actions)


Tool detection is evidence\-based, not a full runtime audit\. Package manifests, lockfiles, and SBOMs are high\-confidence; README, topics, and AI metadata are lower\-confidence signals\. Repository language is metadata, not counted as a tool\. Accuracy varies by ecosystem, especially for C/C\+\+ and custom monorepos\.

- OpenAI  · 98% confidence · Sources: github\-sbom, pyproject\.toml · Detected Jul 10, 2026

- pytest  · 98% confidence · Sources: github\-sbom, pyproject\.toml · Detected Jul 10, 2026

- Docker  · 90% confidence · Sources: Dockerfile, examples/ollama/Dockerfile, examples/ollama/docker\-compose\.yml · Detected Jul 10, 2026

- GitHub Actions  · 88% confidence · Sources: \.github/workflows/auto\-update\-pr\.yaml, \.github/workflows/check\-infrastructure\-changes\.yml, \.github/workflows/check\-linked\-issue\.yml, \.github/workflows/check\-pr\-size\.yml, \.github/workflows/check\-pr\-up\-to\-date\.yaml, \.github/workflows/ci\.yaml, \.github/workflows/publish\.yml, \.github/workflows/revalidate\-pr\.yml, \.github/workflows/validate\-community\-providers\.yaml, \.github/workflows/validate\_pr\_template\.yaml, \.github/workflows/zenodo\-publish\.yml · Detected Jul 10, 2026

## Similar projects

[![neuml](https://avatars.githubusercontent.com/u/59890304?v=4&s=24)

neuml/ txtai

💡 All\-in\-one AI framework for semantic search, LLM orchestration and language model workflows

Python 14k 62%](https://starboard.codevetter.com/explore/neuml/txtai)[![deepset\-ai](https://avatars.githubusercontent.com/u/51827949?v=4&s=24)

deepset\-ai/ haystack

Open\-source AI orchestration framework for building context\-engineered, production\-ready LLM applications\. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation\. Built for scalable agents, RAG, multimodal applications, semantic search, and conversational systems\.

Python 27k 61%](https://starboard.codevetter.com/explore/deepset-ai/haystack)[![sreenathmmenon](https://avatars.githubusercontent.com/u/79475176?v=4&s=24)

sreenathmmenon/ llmswap

Ask, compare, and synthesize across 10 LLM providers\. Python SDK, CLI, local Arena, MCP, and privacy\-aware

Python 34 62%](https://starboard.codevetter.com/explore/sreenathmmenon/llmswap)[![adbar](https://avatars.githubusercontent.com/u/2125866?v=4&s=24)

adbar/ trafilatura

Python & Command\-line tool to gather text and metadata on the Web: Crawling, scraping, extraction, output as CSV, JSON, HTML, MD, TXT, XML

Python 7\.2k 64%](https://starboard.codevetter.com/explore/adbar/trafilatura)[![stanfordnlp](https://avatars.githubusercontent.com/u/3046006?v=4&s=24)

stanfordnlp/ stanza

Stanford NLP Python library for tokenization, sentence segmentation, NER, and parsing of many human languages

Python 7\.9k 63%](https://starboard.codevetter.com/explore/stanfordnlp/stanza)[![langchain\-ai](https://avatars.githubusercontent.com/u/126733545?v=4&s=24)

langchain\-ai/ langgraph

Build resilient agents\.

Python 45k 63%](https://starboard.codevetter.com/explore/langchain-ai/langgraph)[![allenai](https://avatars.githubusercontent.com/u/5667695?v=4&s=24)

allenai/ allennlp

An open\-source NLP research library, built on PyTorch\.

Python 12k 64%](https://starboard.codevetter.com/explore/allenai/allennlp)[![NanoNets](https://avatars.githubusercontent.com/u/30330951?v=4&s=24)

NanoNets/ docstrange

Extract and convert data from any document, images, pdfs, word doc, ppt or URL into multiple formats \(Markdown, JSON, CSV, HTML\) with intelligent structured data extraction and advanced OCR\.

Python 1\.6k 62%](https://starboard.codevetter.com/explore/NanoNets/docstrange)
