PageText API — Web Page to Markdown
Convert any public web page to clean, readable Markdown with a single HTTP request. No API key, no registration, no rate limits. Powered by the Jina Reader API.
Try It Online →Quick Start
Just make a GET or POST request to the Jina Reader endpoint with your target URL:
curl -s "https://r.jina.ai/https://example.com" \
-H "Accept: text/markdown"
Language Examples
Python
import requests
url = "https://r.jina.ai/https://en.wikipedia.org/wiki/Python_(programming_language)"
headers = {"Accept": "text/markdown"}
response = requests.get(url, headers=headers)
markdown = response.text
print(markdown[:500]) # First 500 chars
JavaScript / Node.js
const response = await fetch(
"https://r.jina.ai/" + encodeURIComponent("https://example.com"),
{ headers: { Accept: "text/markdown" } }
);
const markdown = await response.text();
console.log(markdown);
n8n Workflow
Use the HTTP Request node:
Method: GET
URL: https://r.jina.ai/{{ $json.url }}
Headers: { "Accept": "text/markdown" }
Response Format
The API returns clean Markdown. Headings, links, lists, code blocks, and tables are preserved. Images are referenced as Markdown links.
# Title of the Page
> Meta description or excerpt
## Section Heading
Content in clean, readable Markdown...
- List item 1
- List item 2
[Link text](https://example.com)
Use Cases
| Use Case | Description |
|---|---|
| LLM Context Building | Feed web documentation into ChatGPT, Claude, DeepSeek context windows for analysis |
| Content Research | Extract clean article text from cluttered web pages for analysis or republishing |
| Automation | Use in n8n, Zapier, Make (Integromat) to fetch web content programmatically |
| Knowledge Base | Convert web articles to .md files for Obsidian, Notion, Logseq |
| AI Agents | Enable your AI agents to read web pages by converting them to text first |
| SEO Analysis | Pull competitor pages into Markdown for content structure comparison |
Limitations
- Works with public web pages only — login-walled content is not accessible
- JavaScript-rendered content may be incomplete (the API fetches server-side HTML)
- Very large pages (>500K) may be truncated
- Rate limits apply to the underlying Jina Reader API (generous for casual use)
Privacy
PageText itself does not store or log any URLs or content. The conversion happens entirely through the Jina Reader API. For sensitive content, consider self-hosting.
Try PageText Online →