Home Projects langextract
langextract
Python

langextract

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

by google · GitHub
Top 5% most starred in the catalogue
Stars
Forks
License
Created
Last commit
Category
Language
geminigemini-aigemini-apiApache-2.0Python
View on GitHub
In plain words

Extract and organize important information from messy text documents using AI, with clear links to the original sources.

From the README

Install
pip install langextract

Excerpts from the project README on GitHub. Copyright and licensing remain with the respective authors.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
langextract — GitHub preview card
📈 Star history
39k37k
2026-06-272026-08-31
📈 Track langextract

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

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

langextract has 38.5k stars on GitHub. It has been forked 2.7k times. langextract is written mainly in Python. It has been in active development since 2025. langextract is available under the Apache-2.0 license. Its main topics are gemini, gemini-ai, gemini-api, gemini-flash.

Frequently asked questions

What is langextract?

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

Is langextract open source?

langextract is an open-source project. It is released under the Apache-2.0 license.

Is langextract free?

Yes. langextract is free and open source — you can use, modify and self-host it.

What license does langextract use?

langextract is available under the Apache-2.0 license.

What language is langextract written in?

langextract is written mainly in Python.

🏅 Maintainer of this project?
olud.ai badge — langextract

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=google-langextract)](https://olud.ai/project/google-langextract.html)
More badge options →
🧬 Shares DNA with🧬 View the DNA map →

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.