File size: 562 Bytes
6a7089a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Text

Extract readable text from the current page. Use raw mode when you want `innerText` instead of readability-style extraction.

```bash
curl "http://localhost:9867/text?mode=raw"
# CLI Alternative
pinchtab text --raw
# Response
{
  "url": "https://example.com",
  "title": "Example Domain",
  "text": "Example Domain\nThis domain is for use in illustrative examples in documents.",
  "truncated": false
}
```

Useful flags:

- CLI: `--raw`
- API query: `mode=raw`, `maxChars`, `format=text`

## Related Pages

- [Snapshot](./snapshot.md)
- [PDF](./pdf.md)