# Beautiful Soup

> Python library for pulling data out of HTML and XML

Source: https://talira.ai/catalog/beautiful-soup-2tvwrsby
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [data / scraping / libraries](https://talira.ai/categories/data/scraping/libraries), [developer tools / parsing / xml html](https://talira.ai/categories/developer-tools/parsing/xml-html)
- Licence: MIT[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Leonard Richardson](https://talira.ai/orgs/leonard-richardson.md)

Beautiful Soup is a Python screen-scraping library for pulling data out of HTML and XML documents. It is installed as the beautifulsoup4 package from PyPI and packaged in Debian as python3-bs4. Leonard Richardson has written and maintained it since 2004; it is released under the MIT licence, with its code on Launchpad.

## Links

- Website: https://www.crummy.com/software/BeautifulSoup/

## Problems it solves

- pull data out of a web page's HTML in a Python script
- scrape a website in Python
- read values out of an XML file in Python
- parse an HTML page I downloaded with requests

## Features

- Screen-scraping library for Python
- Reads HTML, XML and SGML markup
- Installed as beautifulsoup4 from PyPI
- Packaged in Debian as python3-bs4

## Trust

Overall: 0.37 out of 1.
Signals: maintenance 0.27, adoption 1.00, backing 0.30, extensibility 0.00.

- latest package release 5 months ago (PyPI beautifulsoup4 4.15.0)
- packages released for 13 years
- 325.3M package downloads a month (PyPI)
- backed by Leonard Richardson

## Alternatives

- [Scrapy](https://talira.ai/catalog/scrapy-ppsk9f77.md): Open source web scraping and crawling framework for Python
- [Crawlee](https://talira.ai/catalog/crawlee-pmcw8bf5.md): Web scraping and browser automation library for JavaScript and Python
- [Scrapling](https://talira.ai/catalog/scrapling-gxb7dwn7.md): A web scraping framework from a single request to a full-scale crawl
- [ScrapeGraphAI](https://talira.ai/catalog/scrapegraphai-ex7jv8vv.md): Python library and API that scrape websites with LLMs from a plain description of what to extract

## Sources

[^1]: https://metadata.ftp-master.debian.org/changelogs//main/b/beautifulsoup4/beautifulsoup4_4.15.0-1_copyright (checked 26 Nov 2026)
[^2]: https://deps.dev/pypi/beautifulsoup4/4.15.0 (checked 26 Nov 2026)
