---
title: "What is Trafilatura? Open source, 20 alternatives (2026)"
description: "Trafilatura is a Python library and CLI to pull main text and metadata from web pages, with export to text, JSON, XML and more."
url: "https://scrapenews.com/compare/trafilatura"
updated: "2026-11-26"
---

Data: https://scrapenews.com/compare/trafilatura.json

# What is Trafilatura? Facts and alternatives

trafilatura.readthedocs.io

Trafilatura is a Python library and CLI to pull main text and metadata from web pages, with export to text, JSON, XML and more.

Checked 26 Nov 2026

Licence Apache-2.0 · 7,175 GitHub stars, counted 26 Nov 2026 · last release v2.4.0, 23 Nov 2026 · last code change 23 Nov 2026 · [20 alternatives in parsing and extraction](https://scrapenews.com/compare/parsing.md) · Guide: [How to scrape a website](https://scrapenews.com/guides/how-to-scrape-a-website.md)

[Visit trafilatura.readthedocs.io ↗](https://trafilatura.readthedocs.io)[Code on GitHub ↗](https://github.com/adbar/trafilatura)Alternatives ↓

## What it is

| Product | Category | Price | Rating |
| --- | --- | --- | --- |
| Trafilatura: Python library and CLI to pull main text and metadata from web pages, with export to text, JSON, XML and more. Good for: Building text datasets or reading articles without menus and ads. | [Parsing and extraction](https://scrapenews.com/compare/parsing.md) (21) [Crawling frameworks](https://scrapenews.com/compare/crawl-frameworks.md) (20) | Free (open source) | **69** 6 facts **68** 6 facts |

7 facts, each linked to its page. Category: tools we compare. Rating: [our formula](https://scrapenews.com/rating.md).

Data: [JSON](https://scrapenews.com/compare/trafilatura.json) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

## Facts

[trafilatura.readthedocs.io](https://trafilatura.readthedocs.io) · [github.com/adbar/trafilatura](https://github.com/adbar/trafilatura)

**Spec facts  (7 · 8 not listed yet)**

| How you use it (3) |  |
| --- | --- |
| Official Python library? | [Yes](https://trafilatura.readthedocs.io) (The library itself is the Python package) |
| Official command-line tool? | [Yes](https://trafilatura.readthedocs.io) |
| Can I use it without writing code? | [No](https://trafilatura.readthedocs.io/en/latest/usage-gui.html) (GUI removed in v2.0) |
| Where it runs (2) |  |
| Can I host it myself? | [Yes](https://trafilatura.readthedocs.io) |
| Code licence | [Apache-2.0](https://github.com/adbar/trafilatura) (Versions before v1.8.0 were GPLv3+) |
| Code (2) |  |
| Written in | [Python](https://trafilatura.readthedocs.io) |
| Latest release | [V2.3.1, 2026-10-06](https://pypi.org/project/trafilatura/) |

8 spec facts not listed on the company's pages yet. Seen one? [Send us a source](mailto:info@scrapenews.com?subject=Spec%20facts%3A%20Trafilatura).

## Who says what

No vendor claims by or about Trafilatura yet.

## Alternatives

The closest tools from other companies, and how each differs on facts from their own pages. Not a ranking: the [scrapenews rating](https://scrapenews.com/rating.md) lives in the compare tables.

Sorted by GitHub stars (counted 26 Nov 2026): that shows popularity, not quality. Tools without stars come last, A–Z.

| Tool | Price | How it differs |
| --- | --- | --- |
| [Readability.js](https://scrapenews.com/compare/readability.md): Standalone version of the library behind Firefox Reader View: extracts the main article from a page. | Free | Trafilatura and Readability.js match on all 2 points we have facts for on both. |
| [Newspaper4k](https://scrapenews.com/compare/newspaper4k.md): Python library to extract news articles, titles and metadata; a maintained fork of Newspaper3k. | Free | They differ on 2 of 5 points we have facts for on both. Also different: licence, latest release. |
| [Goose3](https://scrapenews.com/compare/goose3.md): Python 3 article extractor: pulls the main text, images and metadata from news pages. | Free | They differ on 1 of 4 points we have facts for on both. Also different: latest release. |

## Related

- [How to scrape a website](https://scrapenews.com/guides/how-to-scrape-a-website.md)  (Guide)
- [Fake data for scrapers](https://scrapenews.com/guides/fake-data-for-scrapers.md)  (Guide)
- [429 Too Many Requests](https://scrapenews.com/errors/429-too-many-requests.md)  (Error)
- [503 Service Unavailable](https://scrapenews.com/errors/503-service-unavailable.md)  (Error)

## Sources

1. [trafilatura.readthedocs.io](https://trafilatura.readthedocs.io)
2. [github.com/adbar/trafilatura](https://github.com/adbar/trafilatura)

Checked: facts 16 Nov 2026, spec 16 Nov 2026.

## Up

- [Home](https://scrapenews.com/index.md)
- [Providers & Prices](https://scrapenews.com/compare.md)
