# Extract Structured Information

- Page: https://shared.btbytes.com/p/extract-structured-information
- Date: 2025-08-10
- Tags: llm

Extracting structured information from unstructured text using LLMs is a good tool to have in your [llm](https://shared.btbytes.com/p/llm) toolkit.

Google's  [langextract](https://github.com/google/langextract)  is one such [python](https://shared.btbytes.com/p/python) library for extracting structured information from unstructured text using LLMs with precise source grounding and interactive visualization.

The other popular library is [Instructor](https://python.useinstructor.com) -- extracting structured data from Large Language Models (LLMs). Built on top of **Pydantic**, Instructor provides type-safe data extraction with automatic validation, retries, and streaming support. supports all major providers like openai, claude and [local-llm](https://shared.btbytes.com/p/local-llm) like ollama etc.,
