Text & word counter
Text /api/v1/utility/text-statsCharacters, words, sentences, lines, reading time, byte length.
Result
Raw JSON
API / curl
0 ms · live
{
"characters": 10,
"characters_no_spaces": 10,
"bytes": 10,
"words": 2,
"sentences": 1,
"lines": 1,
"reading_minutes": 1,
"longest_word": "tools"
}
{
"ok": true,
"slug": "utility/text-stats",
"title": "Text & word counter",
"ms": 0,
"data": {
"characters": 10,
"characters_no_spaces": 10,
"bytes": 10,
"words": 2,
"sentences": 1,
"lines": 1,
"reading_minutes": 1,
"longest_word": "tools"
},
"source": "live",
"meta": []
}
JSON endpoint
/api/v1/utility/text-stats?q=host.tools
curl
curl -s '/api/v1/utility/text-stats?q=host.tools'
How to use Text & word counter
-
1
Paste your input
Enter the value at the top — domain, IP, URL, email, ASN, hash, whatever fits this tool. The smart input auto-detects type.
-
2
Click "Inspect"
host.tools issues real probes (DNS, HTTP, TCP, TLS, WHOIS where applicable) and renders the result in milliseconds.
-
3
Open the API tab
Every web tool has a sibling /api/v1/utility/text-stats JSON endpoint with the same payload. One copy-as-curl click and you're scripting it.
API equivalent
/api/v1/utility/text-stats?q=host.tools
curl -s '/api/v1/utility/text-stats?q=host.tools'
Embed this tool
<iframe src="/utility/text-stats?q={INPUT}&embed=1"
width="100%" height="600" frameborder="0"></iframe>
Drop into any HTML page. The embed=1 flag hides nav and footer.
FAQ · Text & word counter
Common questions
Is Text & word counter free?
Yes — every tool is free on the web with a 200/hour rate limit per IP. The matching API endpoint /api/v1/utility/text-stats is free up to 100 requests/hour, no key required.
Where does the data come from?
Real-time probes against authoritative sources (DNS root, RIRs, registries, the target server itself), plus partner data feeds from hostinfo.com (GeoIP/ASN) and hostcheck.com (reputation).
How fresh are the results?
Live by default. Cached for 5 minutes to make repeat queries instant; pass
?nocache=1 for a forced refresh.Can I run this from the command line?
Yes — every tool ships with a copy-as-curl. There's also an official CLI:
host.tools utility text-stats YOUR_INPUT.Can I monitor results over time?
Pro tier lets you schedule any tool to run every 1/5/15/60 min and alert on diff. See monitors.
host.tools Pro
Run Text & word counter on a schedule. Get pinged when it changes.
Pro gets you bulk lookups, monitors, webhook alerts, history, exports and 10,000 API calls/day. $19/mo.
- ✓Schedule any tool — every 1, 5, 15, 60 min
- ✓Diff against last run, alert on change
- ✓Webhook + email + Slack + PagerDuty + OpsGenie
- ✓Bulk CSV upload, 1,000 inputs per job
- ✓Export results as CSV / NDJSON / Excel
- ✓90-day history, comparison view