arXiv-txt.org
Make arXiv papers easily available in LLM-friendly formats.
How It Works
Just change arxiv.org
toarxiv-txt.org
in the URL.
To fetch the raw text directly, use https://arxiv-txt.org/raw/
:
Try Some Examples
API Usage Guide
To fetch the raw text directly, use https://arxiv-txt.org/raw/
:
For example:https://arxiv-txt.org/raw/abs/1706.03762
Python
import requestsarxiv_url = "https://arxiv.org/abs/1706.03762"summary: str = requests.get(arxiv_url.replace("arxiv.org", "arxiv-txt.org/raw/")).textprint(summary)# Pass this to your favorite agent
Command Line
# Download with curlcurl -o paper.txt https://arxiv-txt.org/raw/abs/1706.03762# Use with @simonw LLM librarycurl -L https://arxiv-txt.org/raw/abs/1706.03762 | \llm -s "ELI5"